[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] hacked raq + chattr command
- Subject: RE: [cobalt-users] hacked raq + chattr command
- From: "GPS" <gps@xxxxxxxxxxxxxx>
- Date: Tue Feb 27 21:06:08 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
>Ref - http://list.cobalt.com/pipermail/cobalt-users/2001-February/035170.html
>
>What are the benefits of using the chattr command if it can be undone using
>the same command with a different flag?
>
>For example, someone on the list recommended using:
>
>chattr -i /bin/login
>
>to protect login. But the manual on chattr (and the ref link above) says to
>the following about the command.
>
>Opcodes
>+ Add attribute
>- Remove attribute
>
>So wouldn't actually be "chattr +i /bin/login" to enable, and "chattr -i
>/bin/login" to disable? But I still don't see the point if the attributes can
>be removed.
>
>David
It's not a fool-proof measure...just an extra precaution. Since it seems that
it's not a widely known or used file protection it is effective because it immediately
throws the less-experianced for a loop. (myself included!)