New answers tagged history
I believe some variant of auditd would be what you need, but it may be overkill. Similar questions have been asked before, here is an overview: Log all commands run by admins on production servers How do I log every command executed by a user? How can I make bash to log shell commands to syslog? How to log commands/logins in linux?
Top 50 recent answers are included