Server Monkey is looking for tutorial writers to join our staff. Interested applicants can send a quick introduction of themselves to apply@server-monkey.com


Chattr according to Wikipedia;
“chattr is a Linux command that allows a user to set certain attributes on a file. Mostly chattr is used to make files immutable so that password files and certain system files cannot be erased during software upgrades.”

To set a file as immutable;
chattr +i file_name

To remove;
chattr -i file_name

http://en.wikipedia.org/wiki/Chattr

Categories: Linux


Leave a Reply

You must be logged in to post a comment.