SUMMARY -Re: Logging commands being entered in the shell

From: Adam Kurjewicz <>
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
Putting the script procedure into the .shell file

Thanks again for all your replies.


From: Adam Kurjewicz <>
Sent: Wed, August 11, 2010 2:37:45 PM
Subject: Logging commands being entered in the shell

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?

sunmanagers mailing list
sunmanagers mailing list
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