View previous topic :: View next topic |
Author |
Message |
`VL n00b


Joined: 30 Apr 2004 Posts: 71 Location: Russia
|
Posted: Thu Feb 24, 2005 6:32 pm Post subject: How to track all users`s actions in shell? |
|
|
How to log ALL that users enters as a shell command? I`d like to have something like bash_history file, but
such way, that users can`t prevent it. _________________ Life is too short to be taken seriously. |
|
Back to top |
|
 |
tomga n00b

Joined: 13 Jul 2002 Posts: 68
|
Posted: Thu Feb 24, 2005 8:22 pm Post subject: |
|
|
you could force them to use the program screen (emerge screen)
screen can log all actions taken in the shell to a specified file
Code: | /etc/screenrc
log on
logfile nameoflogfile |
see man screen for further information |
|
Back to top |
|
 |
|