Change Permissions on Password files so no one can change them

The following changes following file permissions, so that nobody can change the account privileges:
chattr +i /etc/passwd
chattr +i /etc/shadow
chattr +i /etc/group
chattr +i /etc/gshadow
See here for further details of the chattr command
Related Posts
Tags: chattr
This entry is filed under Security.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.