Chattr
Posted by Eric Lubow   
Security Tips There are files that get changed very infrequently. For instance, if your system won't have any users added anytime soon then it may be sensible to chattr immutably the /etc/password and /etc/shadow files. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
chattr +i /etc/passwd /etc/shadow

Only registered users can write comments.
Please login or register.

Powered by AkoComment!