I'm looking for a Linux monitoring tool that I can install on one of my Linux boxes used for backing up data. I'd like to know, besides using a form of shell history, if there is way to capture all keystrokes and place them in a root-only accessible location? Or perhaps maybe what I am looking for a global shell history program that the individual users can't access to add to or remove from. Just curious if anyone knows of any such tool suite.
asked 12 Jul '10, 15:29
Rootsh is the program I prefer for that type of command line logging. You can use a method of psacct, and sudo as well it just takes a bit more work but they are both default installs on the system and require no extra installation.
answered 12 Jul '10, 20:36