[HPADM] RE: summary: track and trace user activies

From: Linda Belebesi (Linda.Belebesi@arivia.co.za)
Date: Thu Nov 22 2007 - 01:17:45 EST


In /etc/profile, there should be these lines:

    export HISTFILE=$HOME/.sh_history
    export HISTSIZE=5000
 you will also need to prevent the users from deleting their files by including the following line on this file
trap "rm -f ${HISTFILE}" 0
then Do strings on individuals' .sh_history files in their home directories. This will show most recently executed commands by given users

example # cd /home/b12641
              #strings .sh_history

Thanks to everyone that responded

________________________________
From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl] On Behalf Of Linda Belebesi
Sent: Wednesday, November 21, 2007 9:19 AM
To: hpux-admin@DutchWorks.nl
Subject: [HPADM] track and trace user activies

Hi Admins,
How do I track and trace individual user activities on my HP-UX servers? Can I see which commands were run by a specific user?

Thanking you in advance.

Regards
Linda Belebesi
Junior Unix Administrator

DISCLAIMER:
Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.

DISCLAIMER:
Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.

--
             ---> 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:58 EDT