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

Andy's gravatar image

accept rate: 14%

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

rfelsburg's gravatar image

rfelsburg ♦
accept rate: 25%

Thanks Rob, I'll give this a try.

(13 Jul '10, 14:52) Andy
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 12 Jul '10, 15:29

Seen: 2,147 times

Last updated: 12 Jul '10, 20:36

powered by OSQA