Hi,
I need to log all commands issued by a specific user from the time he logs into the server (either telnet or console) till he exits.
I can think of 2 options but both did not really work:
1. Use BSM - But it is logging too much info and is difficult to comprehend. All that I need are the commands issued by the user
2. Add the command "script -a /var/log/user_commands" into the user profile. - This works only partially as the user is able to stop the "script" by typing "exit". He is then free to issue commands that will not be audited.
Any suggestions?
Thanks.
Eric
I need to log all commands issued by a specific user from the time he logs into the server (either telnet or console) till he exits.
I can think of 2 options but both did not really work:
1. Use BSM - But it is logging too much info and is difficult to comprehend. All that I need are the commands issued by the user
2. Add the command "script -a /var/log/user_commands" into the user profile. - This works only partially as the user is able to stop the "script" by typing "exit". He is then free to issue commands that will not be audited.
Any suggestions?
Thanks.
Eric