save commands history.
Mike Burger
mburger at bubbanfriends.org
Sun Mar 14 17:10:57 UTC 2004
On Sun, 14 Mar 2004, Manuel Aróstegui Ramirez wrote:
> --- Mohamed Kerbachi <Mohamed.Kerbachi at OTALGERIE.com>
> escribió: > Hello,
> >
> > Is there way to save the commands history of a user
> > in other place than $HOME where he can't delete it ?
> >
> > Thanks.
>
> Maybe you can change .bash_history permission and
> group in order to not allow the user removed it.
>
> Look at man chmod, man chown and man chgrp
I don't think that wouldn fly...to disallow deletion, you'd have to turn
off write capability...which would then disallow the ability for commands
to go into the .bash_history file, in the first place.
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the redhat-list
mailing list