Results 1 to 2 of 2
Thread: user group /etc/passwd
-
02-23-2012, 10:26 AM #1Junior Guru Wannabe
- Join Date
- Jul 2010
- Posts
- 65
user group /etc/passwd
i want disable cat /etc/passwd to all user
only root can cat /etc/passwd
i use centos 5.4
-
02-23-2012, 11:22 AM #2Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
Not possible, unless you disable the cat command for everyone but root which is silly. The /etc/passwd file doesn't actually contain the password hashes so it poses no risk to the security of your server. The /etc/shadow or /etc/master.passwd (BSD) files are only readable by root. In other words, you have nothing to worry about!
RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
Similar Threads
-
Unable read /etc/passwd. /etc/passwd MUST be world readable under UN*X operating sys
By robocap in forum Hosting Security and TechnologyReplies: 16Last Post: 10-22-2012, 01:46 AM -
Permission denied: /home/airtrade/etc/airtrade.com.tw/passwd passwd
By mmanickaraj in forum Hosting Security and TechnologyReplies: 1Last Post: 07-20-2008, 02:17 PM -
user can see /etc/passwd. how to stop this
By its_joe in forum Hosting Security and TechnologyReplies: 11Last Post: 09-02-2007, 11:34 PM