ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.55k stars 626 forks source link

Not an issue. Is there an option to log all session activity ? #449

Open richang2009 opened 1 year ago

richang2009 commented 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.