Open richang2009 opened 1 year ago
I need to log all session activity. The closest I get is https://www.2daygeek.com/automatically-record-all-users-terminal-sessions-activity-linux-script-command/. But when I incorporate this in /etc/profile, sftp and scp doesn't work. Only after I comment out the logging commands, it works again. Not sure if we can have such a thing in oh-my-bash.
I need to log all session activity. The closest I get is https://www.2daygeek.com/automatically-record-all-users-terminal-sessions-activity-linux-script-command/. But when I incorporate this in /etc/profile, sftp and scp doesn't work. Only after I comment out the logging commands, it works again. Not sure if we can have such a thing in oh-my-bash.