Blog Archives

How to Log all Bash History Commands to syslog or loganalyzer (/var/log/messages) in CentOS/RHEL

Thanks to TheGeekDiary The Ask The user wants to see the list of commands used in the syslog messages. This way the user can audit user activities written in bash_history. The Solution 1. To log bash history to a syslog

Posted in Linux