I'm running a debian etch server where users will be logging into (hopefully) a chroot jail through ssh. How can I have the commands they execute logged in a way they cannot delete, nor prevent?
feedback
|
|
install snoopy. If you only want to log the one user, do some syslog filtering fu. | |||||||||
feedback
|
|
You may try ttyrpld. It's more than you want because it will log the whole tty. | |||||
feedback
|
|
You could enable system auditing. | |||||
feedback
|
|
Use a grsecurity patched kernel. There is a kernel option exactly for this purpose. | |||
|
feedback
|
|
bash keeps a command history of a specified size. You the admin can set that size, and easily write a script which goes and fetches that history per user via cron. | |||
feedback
|