bash_history2 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. How to Disable Your Bash_History or Log Users ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██ ██ █▌ - DISABLING BASH_HISTORY AND/OR LOGGING ALL USER'S CMDS - █▌ █▌ █▌ █ ▐▌ █ Once you have logged out of your shell by default bash will store the last ▐▌ █ 500 previous cmds (commands), and/or 500 lines, you executed to your ▐▌ █ .bash_history file for easy recall on future sessions (Ctrl+R or ! or !!). ▐▌ █ Even pa.. 2014. 12. 12. 이전 1 다음 728x90