The bash shell saves a history file, but it will retain only unique commands. It is meant for the history features of the shell such as using "[CTRL]-r" to recall certain commands or ! to rerun the last command.
If the commands were called using sudo, such as "sudo /sbin/ifconfig", then there will be log entries of the command, possibly in /var/log/messages, but possibly in a different log depending on how your system is configured. If the user can use 'su -' or use 'sudo /bin/bash' or 'sudo vim' and uses the ":!" shell escape, then commands executed from that shell won't be logged.
|