- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/passwd 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
10-02-2001 08:33 AM
10-02-2001 08:33 AM
/etc/passwd permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:39 AM
10-02-2001 08:39 AM
Re: /etc/passwd permissions
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:41 AM
10-02-2001 08:41 AM
Re: /etc/passwd permissions
444 is the correct permissions. Only way to stop normal users reading it is to convert to a trusted system (which removes the passwords from /etc/passwd).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:45 AM
10-02-2001 08:45 AM
Re: /etc/passwd permissions
If you are concerned about people looking at the encrypted passwd and attepmting to decrypt it, you could switch to a trusted system.
In a trusted system the /etc/passwd file contains a * in the passwd field. The actual encrypted passwords are kept in a /tcb/files/auth/ directory structure which is then readable only by root and the sys group. This is the way to go if you are security conscious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 08:48 AM
10-02-2001 08:48 AM
Re: /etc/passwd permissions
Actually the /etc/passwd, will inturn call the file /bin/passwd, for which the sticky bit has been set as run the file with root previlege and have the execution permissions. Turn off the sticky bit"s" using SUID or SGID and give only the permission .. U want to give to this file...
hope this will help U ..
Mani.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:01 AM
10-02-2001 09:01 AM
Re: /etc/passwd permissions
Yes the read permissions for group/others are normally set to 444. But if you remove the read permissions for others, they can still login but id to name conversions do not happen. ll would produce the uids rather than login names. finger would say ??? for the users.
whoami would say "intruder alert" although "who am i" would work fine. So technically speaking as long as you don't care if login name doesn't show up and you aren't running scripts/programs which look for the passwd (id-name conversions) entries, i guess you are ok.
This would be an interesting thread to follow.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 09:16 AM
10-02-2001 09:16 AM
Re: /etc/passwd permissions
444 is the correct permission for /etc/passwd file.
For more security, consider converting to trusted system.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 03:14 PM
10-02-2001 03:14 PM
Re: /etc/passwd permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2001 03:26 PM
10-02-2001 03:26 PM
Re: /etc/passwd permissions
file regardless of permissions. As stated above
other services running with your privileges
will read the password and group files to convert
UIDs and GIDs to names. If you restrict access
these functions break.
More secure systems move the passwords to shadow
files readable only by root.
There are tools available that will try to crack
passwords. You and use these to check for weak
passwords. If you are concerned about security
of your passwords you should run one of these.