How do I set permissions /etc/passwd

mamadletsgo

Verified User
Joined
Mar 2, 2015
Messages
69
Location
iran,tehran
hello

What permissions should I set for /etc/passwd To enhance the security ?

Please teach me to enhance server security

thanks
 
that's the best for this :
chown root:root /etc/passwd;
chmod 644 /etc/passwd;


this file store all users.
user and group need to read this file.
every time user try login.
he check this file first.
if you change the def.(i provide you the def)
it may a problem on your system
 
Back
Top