last not working

From: JULIAN, JOHN C (AIT) (jj2195@sbc.com)
Date: Tue Jun 11 2002 - 14:01:30 EDT


On a Solaris 8 box I get inconsistant results from who, last and last -f
utmpx

who shows a user is logged in on two pts.
last shows the person was last logged in on Apr 18 but not currently on.
last -f utmpx shows the person has one current login and one recent login.
timestamps on wtmpx and utmpx are both current.
any suggestions as to whats wrong?

root@hostname# last -f utmpx | grep '^em1986'
em1986 pts/13 asisray Mon Jun 10 16:08 still logged in
em1986 pts/12 asisray Mon Jun 10 16:08 - 08:46 (16:37)

root@hostname# last -f wtmpx | grep '^em1986'
em1986 pts/8 asisray Thu Apr 18 15:29 - 07:46 (3+16:17)
em1986 pts/11 asisray Mon Jan 28 15:24 - 16:23 (00:59)
em1986 pts/12 asisray Fri Dec 21 14:58 - 14:58 (00:00)
em1986 pts/12 asisray Fri Dec 21 14:13 - 14:13 (00:00)
em1986 pts/12 asisray Fri Dec 21 12:26 - 13:58 (01:31)
em1986 pts/12 asisray Fri Dec 21 12:24 - 12:26 (00:01)

root@hostname# who | grep em1986
em1986 pts/12 Jun 10 16:08 (asisray)
em1986 pts/13 Jun 10 16:08 (asisray)

John Julian
Ameritech
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:27 EDT