lastlogin(8) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
LASTLOGIN(8)            NetBSD System Manager's Manual            LASTLOGIN(8)


NAME
lastlogin - indicate last login time of users
SYNOPSIS
lastlogin [-rt] [user ...]
DESCRIPTION
lastlogin will list the last login session of specified users, or for all users by default. Each line of output contains the user name, the tty from which the session was conducted, any hostname, and the start time for the session. If multiple users are given, the session information for each user is printed in the order given on the command line. Otherwise, information for all users is printed, sorted by uid. lastlogin differs from last(1) in that it only prints information regard- ing the very last login session. The last login database is never turned over or deleted in standard usage. The following options are available: -r Reverse the order of the sort. -t Sort by last login time (most recent first.)
FILES
/var/log/lastlog last login database
SEE ALSO
last(1), lastlog(5), ac(8)
AUTHORS
John M. Vinopal wrote this program in January 1996 and contributed it to the NetBSD project. NetBSD 2.0.2 August 28, 2003 NetBSD 2.0.2
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.