[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: save commands history.

It seems the best way to deal with this is to copy the .bash_history to
another directory.You could do it under script.

Many thanks

----- Original Message ----- 
From: "Mike Burger" <mburger bubbanfriends org>
To: "General Red Hat Linux discussion list" <redhat-list redhat com>
Sent: Monday, March 15, 2004 6:10 AM
Subject: Re: save commands history.

On Sun, 14 Mar 2004, Manuel Aróstegui Ramirez wrote:

>  --- Mohamed Kerbachi <Mohamed Kerbachi 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

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 bubbanfriends org

with a message of:


redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]