[HPADM] Logging time & comanfds to history file

From: anil rajapure (anil_unix1975@yahoo.com)
Date: Mon Jun 17 2002 - 01:29:47 EDT


I would like to log date stamp & command for a user as soon as he login in a file/history file.

How do I do this?

I can do this by trap 'date' DEBUG and trace a user. But this will give huge output file.

All I want is command executed,timestamp goes to file. So that I can check this command was executed at this time.

Thanks in advance.

Regards,

---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:14 EDT