Operating System - HP-UX
1834650 Members
1985 Online
110069 Solutions
New Discussion

Re: create a "last login" report

 
Erik Voelker_3
Contributor

create a "last login" report

I'm running HPUX 10.20, the system is not configured as a trusted server. Is
there an easy way to collect information on all the users "last logins" without
having to do each one individually?

Thanks,
Erik
2 REPLIES 2
Jason Luginbuhl_1
Frequent Advisor

Re: create a "last login" report

Perhaps consulting the last command output or the wtmp file could be helpful.
There are man pages on both of these for more info.
Fernando Santana
Frequent Advisor

Re: create a "last login" report

Provide wtmp doesn't go back a year ago or longet, try:

#last | grep "$(date +"%b %d")" #Today's