Tighten System Password Files Access

By Kernel 7 On June 3rd, 2008

Apply these permission/attributes, as “root“, to the system’s password files to tighten their security:

chattr +i /etc/passwd
chattr +i /etc/shadow
chattr +i /etc/group
chattr +i /etc/gshadow

Leave a Reply

You must be logged in to post a comment.