Logs users actions
hi all,
Is there any way to log whatevers users typed when they login? Currently, when a user -su- to root, i cannot trace which users enter which commands. Any solutions? Thanks! |
hope this helps....
hi,
there is a file named .bash_histroy in each and every users directory, which has all the commands that users enter.. write cron job to monitor ( or grep ) the .bash_history file to check for "su" on all users... let me kow if it worked... btw the ur ques wasnt clear.. hope this helped... |
You could create multiple root accounts and give each user their own root account.
But if you distrust the users with root access enough to want to monitor them, why have they got root access? |
All times are GMT -5. The time now is 05:54 AM. |