- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File/Directory Permissions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:18 AM
03-08-2004 03:18 AM
set.
Does anyone know why any system files and directories would have to have wide open
permission? Excluding /tmp and /var/tmp of course.
And why does /tmp and /var/tmp not have the
sticky bit set like it is on Solaris?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:27 AM
03-08-2004 03:27 AM
SolutionGenerally speaking, certain system files/directories need access by all users in order to perform properly.
However, a generic HP-UX install does not come in a secure, locked-down state. It will require a lot of manipulation to properly harden it. (check out the famous article about "Building a Bastion Host on HP-UX")
Again, if you have examples, that would help.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:30 AM
03-08-2004 03:30 AM
Re: File/Directory Permissions
HP provide a product called "Bastille" that can help to tidy this up a great deal.
Typically, it's things such as /usr/local/bin, which is often included in the path, but has full permissions that are the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 05:32 AM
03-08-2004 05:32 AM
Re: File/Directory Permissions
I also have a vague memory of the sticky bit keeping a program in memory, in order to make it load faster. I believe that vi is like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 06:26 AM
03-08-2004 06:26 AM
Re: File/Directory Permissions
find that it requires a specail version
of perl. We have perl.5.6.1, but that does
not seem to be good enough.
Does anyone know where the HP version installs? I cannot afford to overwrite the
current version and break production.
I know what the sticky bit does. I just wanted to know why HP does not set it for
/tmp /var/tmp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 06:42 AM
03-08-2004 06:42 AM
Re: File/Directory Permissions
I believe that's what you were asking.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2004 03:28 AM
03-26-2004 03:28 AM
Re: File/Directory Permissions
HP-UX 11.22 (11i version 1.6) and later have the sticky bit set on /tmp and /var/tmp as well.
HP-UX Bastille requires the HP distribution of Perl (which installs in /opt/perl by the way) because of the libraries included in the distribution. This version of Perl is included in most recent OEURs. It is possible, though not supported by HP, to compile your own Perl-Tk libraries into your version of Perl. It is also possible to hand-hack the config file, but it is a lot easier to at least start with the GUI once to get an example. The GUI is also designed to be educational as it walks you through the steps.
Concerning the comments about HP-UX shipping with defaults open, check out Install-time security for 11.23 (11i version 2.0). For more information, see:
http://www.hp.com/products1/unix/operating/security/index.html#system
This lets you bypass the GUI and select one of 3 pre-hardened configurations from the ignite screen.
For older releases (11.00, 11.11, etc.) your OS is probably already installed, so HP-UX Bastille is the way to go (will walk you through the same steps as ITS would, if it was available for those releases).
Hope that helps
-Keith