add date to the tail -f o/p of a command

From: SURI, SONIA (SONIA) (strehan@lucent.com)
Date: Mon Jan 09 2006 - 07:18:58 EST


Hi Admins

I am trying to record the commands run by root user, as this login has to be
given at time to many different people, to run different utilities,

My plan is to run the tail -f on .sh_history and store in another file. But
I need to put date as well in the o/p file,

basic idea is to record the commands run by root users along with time when
it was run.

So could you share with me any idea if you have how this can be done in
better way.

regards
Sonia.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:23 EDT