[volunteers] [LUG] using chattr to maintain history of command in linux
Nirnimesh
nirnimesh at gmail.com
Thu Nov 30 00:32:55 PST 2006
> Red Hat uses Bash as its default shell. One of the features of Bash is its
> ability to keep a running history of commands the user has typed. This
> could, however, end up being a security problem. If a bad guy were able to
> compromise a user's home directory, they could view commands the user has
> executed. In some cases, this could expose improperly used passwords or
> special privileges available to the user (such as sudo.)
I don't think I agree. Because bash logs all the commands, you are able to
perform history search. If someone has access to your shell, there are other
(far worse) things to worry about. Using vlock to lock the terminal would be
a direct answer if you work in a public place.
Just a thought.
Nirnimesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/volunteers/attachments/20061130/aabe7296/attachment.htm
More information about the volunteers
mailing list