Subject: bin/28904: lastlogin uses lastlogx
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
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
>Organization:
Kimmo Suominen
>Environment:
System: NetBSD beowulf.gw.com 2.99.11 NetBSD 2.99.11 (GW-GENERIC) #85: Sat Jan 1 11:30:14 EST 2005 kim@hrothgar.gw.com:/usr/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
man lastlogin
>Fix:
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.