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!

lsuser time_last_login

Status
Not open for further replies.

columb

IS-IT--Management
Feb 5, 2004
1,231
EU
I'm writing a report on dormant users. The heart of this is
Code:
lsuser -a time_last_login ALL
which I'll wrap with a perl script. The users fall into three categories.
[ol]
[li]Those with a time_last_login within the required timescale[/li]
[li]Those with a time_last_login outside the required timescale[/li]
[li]Those with no time_last_login[/li]
[/ol]
Can I guarantee (assuming the server has not been rebuilt or something) that those in the last category have never logged on? I assume the info comes from utmp and/or wtmp; do these ever get reset?

Ceci n'est pas une signature
Columb Healy
 
Thanks gtmb - I should have remembered, I responded to that thread myself!


Ceci n'est pas une signature
Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top