What are ideal /etc/passwd file permissions?

user1295164 picture user1295164 · Mar 27, 2012 · Viewed 9.4k times · Source

Is there any risk keeping open world-read access to passwd file? Why is by default passwd file world-readable

Answer

stanwise picture stanwise · Mar 27, 2012

It is for all users to be able to read their usernames and other data in this file. Sensitive data in modern UNIX systems is kept in /etc/shadow file.