![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| logged out users | roshni | Post Here to Contact Site Administrators and Moderators | 1 | 07-06-2007 04:02 AM |
| how many users logged | trichyselva | Shell Programming and Scripting | 4 | 05-06-2006 03:17 AM |
| Users logged in through which NIC | cburtgo | IP Networking | 5 | 04-28-2006 07:59 PM |
| All tcp/ip users are logged out | Docboyeee | IP Networking | 2 | 03-13-2003 01:07 PM |
| Information about users who have logged. | rooh | UNIX for Dummies Questions & Answers | 2 | 12-26-2001 06:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Finding last time users logged in
I would like to find out the last time all users have logged in or out. I tried the last command, but it could not find the wtmp file in /var/adm (I searched in othe directories also). This is an AIX rs6000 4.2.1 system. We are moving our applications from this system to an AIX 5.2 system and I would like to not have to create logins for users that are no longer using them. Thank you for any help you can give me.
|
|
||||
|
I found the command lsuser and did this to get a list of users and the last time logged in:
lsuser -a time_last_login ALL > users.txt Which gives me this result: username time_last_login=1046099951 username time_last_login=1074022275 username time_last_login=899997008 . . username time_last_login=1046099951 username time_last_login=1074022275 username time_last_login=899997008 Is it possible to get the last date logged in from the above? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|