hypothetical scenario question

Duston, Hal hdusto01 at sprintspectrum.com
Wed Jun 26 20:50:23 CDT 2002


dattaway at attaway.net [mailto:dattaway at attaway.net] wrote:
> chattr +i 
> 
> strategically placed in selected configuration directories and or
> individual files, this one bit will prevent any change from 
> occuring.  
> 
> Except if that person happens to be root.  Here is what the 
> immutable bit does from chattr's man page:
> 
>        A  file with the `i' attribute cannot be modified: it can-
>        not be deleted or renamed, no link can be created to  this
>        file  and  no  data  can  be written to the file. Only the
>        superuser can set or clear this attribute.

Even root can't modify an immutable file.
(Without removing the attribute.)

Hal




More information about the Kclug mailing list