Operating System - HP-UX
1833824 Members
2289 Online
110063 Solutions
New Discussion

Re: Monitor all the users activities by scripting

 
Robin_45
Occasional Advisor

Monitor all the users activities by scripting

Dear All

I have a requirement to monitor all the user activities included console output in the HP UX server In other words, all the commands and outputs should be logged between an user logged-in to logged-out (we use ssh for remote login). I think its possible by scripting with script command. Since i don't have good knowledge in scripting so I tried to down load some script from itrc but I could not make it. however, I like to attached a script which have downloaded and try to use in my environment but finally it did not work. It would be very appraisable if some one can help me to using this script to fulfill my purpose or can give me a more simple new script for my purpose

Thanks
Robin
3 REPLIES 3
Craig A. Sharp
Super Advisor

Re: Monitor all the users activities by scripting

What exactly is the script that you provided doing when you try to run it? Is there and error produced?
TTr
Honored Contributor

Re: Monitor all the users activities by scripting

Moreover how do you invoke this script for each login session?
TwoProc
Honored Contributor

Re: Monitor all the users activities by scripting

Robin,

MOst of the time this requirement is satisfied with turning on "accounting" once you've got the system turned over to "trusted mode."

It's a pretty simple concept, if you research it a bit.
We are the people our parents warned us about --Jimmy Buffett