This will list all users who have logged into the system with times and dates from the last time the file was cleared down. Either pipe it to more or lp if you wish.
Cheers
PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
Not sure but I think Promise is after a log of all user activity (keystrokes, commands included)? Difficult one if you want to avoid very big files. However, a combination of PSD's suggestion and .sh_history might give an idea, if the latter is copied to an archive area for each user on a nightly basis. Auditors eh? Who needs 'em? ;-)
Are the auditors......looking for auditing or accounting for your machine?
See below to set up and info on............ PSD is right though who wtmp will give you a list of who and when...as well as checking /etc/security/failedlogin...for hackers on a particular port..... who /etc/security/failedlogin
Well this is not easy the wtmp file will tell you terminal, user and time information but nothing breaks down user logins in terms of commands that have been run. Look at executing the script command when someone logs in, you could set up a simple script to log the user, time and tty and then use script to record the keystrokes, beware though the files will be very large. Or you could copy the .sh_history file to a new location relfecting the time, date e.t.c.
Cheers
PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.