Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to track all users`s actions in shell?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
`VL
n00b
n00b


Joined: 30 Apr 2004
Posts: 71
Location: Russia

PostPosted: Thu Feb 24, 2005 6:32 pm    Post subject: How to track all users`s actions in shell? Reply with quote

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
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Thu Feb 24, 2005 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum