Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

history of user activities

Status
Not open for further replies.

promise1

IS-IT--Management
Sep 3, 2000
46
NG
hi all! i would like to see a history of all user activities for all the shell .

i am sure the "hist" or "last" commands are not what i want.

cheers
Promise
 
promise1,

using root ID, if they used "smit" function - you can check by going to their home_dir and read (cat or vi) smit.log and smit.script.


 
You can also (as root) review their .sh_history files in their home directories using the "more" or "cat" command. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.

 
can i write a script to extract this infor for all users that log in??

cheers
Promise1
 
Are you in a situation where more than one person uses a particular userid...?
 
yes we have group id for a select few.

cheers
Promise
 
This could complicate the scripting - I assume that each person that logs on gets their own history file set (as opposed to one common one listing all commands), is this the case as well ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top