(no title)
jchoksi | 9 years ago
Some of the features of my solution are that it creates a sub folder in the user's home directory called ~/.bash_history and underneath this it will create sub folders for each month (YYYY-MM) and under each of those sub folders will reside a daily audit log file of all the bash command history (YYYY-MM-DD). The audit script logs both login and log outs, as well as each command executed in bash.
---
[0] https://github.com/onelittlehope/bash-prompt [1] https://github.com/rcaloras/bash-preexec
No comments yet.