SUMMARY -Re: Logging commands being entered in the shell

From: Adam Kurjewicz <adamkurjewicz_at_yahoo.com>
Date: Thu Aug 12 2010 - 12:24:04 EDT
Thanks for all the replies,
Here are some of the suggestions that I am going to look further into:
SolarisBSM auditing
dtrace
Putting the script procedure into the .shell file
sudosh

Thanks again for all your replies.

Adam


________________________________
From: Adam Kurjewicz <adamkurjewicz@yahoo.com>
To: sunmanagers@sunmanagers.org
Sent: Wed, August 11, 2010 2:37:45 PM
Subject: Logging commands being entered in the shell

Hi,
I am wanting to know if there is a way of recording via a log file what a user 
enters into the shell. So if we have a user entering a cp, mv, or rm  we would 
like to be able to record which user ran the command, what the date/time stamp 
were and a copy of what the user had entered in the shell window. Example if a 
user does: >$ rm file.txt
I am wanting it to record the username, date/time, "rm file.txt"

Does anyone have any suggestions on how to do this?

Thanks,
Adam
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Aug 13 10:27:39 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:17 EST