Subject: bin/28904: lastlogin uses lastlogx
To: None <,>
From: Kimmo Suominen <>
List: netbsd-bugs
Date: 01/08/2005 06:54:00
>Number:         28904
>Category:       bin
>Synopsis:       lastlogin uses lastlogx
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 06:54:00 +0000 2005
>Originator:     Kimmo Suominen
>Release:        NetBSD 2.99.11
Kimmo Suominen
System: NetBSD 2.99.11 NetBSD 2.99.11 (GW-GENERIC) #85: Sat Jan 1 11:30:14 EST 2005 i386
Architecture: i386
Machine: i386
The lastlogin program appears to use /var/log/lastlogx by default,
but the manual page still only lists /var/log/lastlog as the last
login database.
man lastlogin
In addition to correcting the default database path, it might be
useful to show an example of looking at the old (and likely more
complete) lastlog database as well, e.g.

    lastlogin -f /var/log/lastlog -t

At least I was wondering why suddenly nobody had logged in ever.