Re: How to log all commands?

From: c0ntex (c0ntexB_at_gmail.com)
Date: 05/30/05


Date: 30 May 2005 09:40:45 -0700

If a user runs ksh, csh or any other pupular shell your .bash_history
is useless. Also, users can NULL the .bash_history file, symlink it to
/dev/null or make it a directory to stop the logging. Also unsetting
the HISTFILE or HISTSIZE variables will tamper with logging, so make
sure to set them "readonly". man bash

regards
c0ntex