NLNOG / nlnog-ring

NLNOG Server Ring Project
http://ring.nlnog.net/
54 stars 24 forks source link

good tty logging #25

Open job opened 12 years ago

job commented 12 years ago

All shell command's and as much as possible should be logged (over encrypted connection) to one or two masterservers and be stored for future reference in case of abuse.

rodecker commented 12 years ago

Rootsh (http://sourceforge.net/projects/rootsh/) looks like a good candidate for this. It logs all user commands and output, and throws it to syslog.

Things that would need to be done to deploy this:

ebzao commented 12 years ago

http://manpages.ubuntu.com/manpages/maverick/man8/pam_tty_audit.8.html could do the job of tty logging. But it doesn't log output of commands.

rodecker commented 12 years ago

pam_tty_audit is not available on Ubuntu. Acct does the equivalent.