Is that possible to start a screen session on login of any users in Linux system and log each and every activity done by him in a file for later review or email that after his logout..
Basically, I want to see what an user does on the system what were the output of all the commands he ran.
I came across, script and sudosh tools but still working on them to configure them properly. If anyone has the experience with them, please guide me...
Thanks Ramesh
There's the script command in most Linux distributions which will record anything happening in the respective shell session.
What exactly was your problem with
script
? What kind of shell actions do you want to record?