[plug] putty for Red Hat Linux 7.3

Mark O'Shea mark at musicalstoat.co.uk
Thu Apr 15 13:57:32 WST 2004


On Thu, 15 Apr 2004, Bennett, Phillip wrote:

> My favorite being to redirect .bash_history to /dev/null so the admins can't
> see what I'm doing. :)
>
> Does anyone else do this?  Is there some way to stop it?
>
> Phil.

Well if you run this as root on a system you administer you can get a list
of users to mark for deletion:

find /home/ -name ".bash_history" -maxdepth 2 -mindepth 2 -xtype c -print

(basically checks to see if it is symlinked to a character device, like
/dev/null)

regards,
-- 
Mark O'Shea



More information about the plug mailing list