[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] hacked raq + chattr command
- Subject: [cobalt-users] hacked raq + chattr command
- From: David <david_dean@xxxxxxx>
- Date: Tue Feb 27 20:04:00 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
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1