- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Proper Permission Rights Settings
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-07-2002 09:23 PM
03-07-2002 09:23 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 09:36 PM
03-07-2002 09:36 PM
SolutionI generally make it 444
as for /opt/ and /etc
well, depends.
I have varying permissions for applications in /opt and also varying groups.
group A can execute APP A but not APP B and so on.
Depends on your environment.
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 09:43 PM
03-07-2002 09:43 PM
Re: Proper Permission Rights Settings
For most of the system directories, should be 555.
$ ll -d /etc /opt /usr /
drwxr-xr-x 26 root root 2048 Mar 4 13:48 /
dr-xr-xr-x 27 bin bin 6144 Mar 4 13:48 /etc
dr-xr-xr-x 28 bin bin 1024 Feb 14 10:06 /opt
dr-xr-xr-x 24 bin bin 1024 Jan 2 11:39 /usr
For /etc/passwd, should be 444 as stated.
If you are performing housekeeping, check your system for all-writeable files as well as setuid/setgid files as well.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 11:15 PM
03-07-2002 11:15 PM
Re: Proper Permission Rights Settings
drwxr-xr-x /
dr-xr-xr-x /etc
dr-xr-xr-x /opt
dr-xr-xr-x 24 /usr
For /etc/passwd, should be 444
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 11:26 PM
03-07-2002 11:26 PM
Re: Proper Permission Rights Settings
the permissions described by all others here are correct, but you asked about the permissions for /etc/passwd, which are very important, for the reason that this file contains the most important user information:
r-xr-xr-x, or 444 in octal numbers are the correct settings here. Every user MUST have the read- permission for this file, otherwise he won't be able to login! The login- processes like getty read their user information here, and if this file is not readable for each user, login will fail. Also in /usr, where most user binaries are stored, the users need read- and execute- permission to be able to run commands.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2002 02:37 PM
03-08-2002 02:37 PM