PROMPT_COMMAND1 Syslog: log all bash history from every user There are sometimes I wish I had kept all of my history actions within the last 3 days, or I wish I could supervise what an other user have done to a system, I tried to find a way to log all ssh sessions to the server, logging them to syslog and keeping any action performed by every user! This is good for auditing some systems.I thought that a good idea is to pass to system wide bashrc a prompt .. 2014. 12. 15. 이전 1 다음