- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- permission for the HP-UX file system
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
09-08-2006 04:08 AM
09-08-2006 04:08 AM
Can I remove the write access for the "other" in the (/tmp /var /etc /opt) files without breking the system operation??
Thanks Toscanini.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:17 AM
09-08-2006 04:17 AM
Re: permission for the HP-UX file system
That will depend on the file that you are talking about, if you want to take away all of the write permission for other in all of the files under that directory, I would sure expect something to work right on the system.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:18 AM
09-08-2006 04:18 AM
Re: permission for the HP-UX file system
That will depend on the file that you are talking about, if you want to take away all of the write permission for other in all of the files under that directory, I would sure expect something No to work right on the system, sorry I missed the NO part.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 04:34 AM
09-08-2006 04:34 AM
Re: permission for the HP-UX file system
/tmp should be changed to 1777 permission (rwxrwxrwt).
Here is a sample listing of those directories from one of my machines:
dr-xr-xr-x 30 bin bin 8192 Sep 8 11:10 /etc
dr-xr-xr-x 51 bin bin 8192 Jan 20 2004 /opt
dr-xr-xr-x 29 bin bin 8192 Oct 3 2005 /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 05:51 AM
09-08-2006 05:51 AM
Re: permission for the HP-UX file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 01:16 PM
09-08-2006 01:16 PM
Re: permission for the HP-UX file system
Now /tmp and /var/tmp must remain world-writable as many applications depend on these two directories for accessability. By definition, they are temporary so the content should not be assumed to be stable. For both /var/tmp (not /var) and /tmp, the correct permission is 777 but may be extended to 1777 to prevent accidental removal of files by non-owners.
As far as /opt /etc /dev /sbin /usr /home (and others), do not change them from their secure values (755 or perhaps 775). Subdirectories (and files) within these system directories should also be secured but be sure to check before changing. The swverify list will be a great help.
Bill Hassell, sysadmin