bash-sensible
bash-sensible copied to clipboard
Option to log to syslog
Just feedback: it would be great to have an option to log cmd history to syslog.
Some options:
https://sysadmin.compxtreme.ro/how-to-log-bash-history-with-syslog/ https://www.thegeekdiary.com/how-to-log-all-bash-history-commands-to-syslog-var-log-messages-in-centos-rhel/
Feel free to close this, just wanted to give some feedback.
Why would I want to do this? Can you explain the advantages?
immediately send any cmds run on the machine to an external log storage server, like papertrail. useful to watch other ppl on the server in real time, if you have anyone else with access to it. Also to help trace the steps of malicious actors who could gain access to the server (not an infallible way to do this, but one of the least worse solutions for this need)