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!

user files

Status
Not open for further replies.

sbells

MIS
Oct 8, 2002
3
US
I need to write a script to monitor all users entering an IBM rs6000 box. Where are the files that log every user logging on.
 
Hi,

command nameed last
can give this information

man last if you want to discover more about /etc/utmp, /var/adm/wtmp and /etc/security/failedlogin files which are used but they are not plain text.

 
use the command `last` to display the logins and logouts

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
Another interesting file is /var/adm/sulog which contains all the "su" operations, so you can track also when a user becomes another one
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top