freebsd man page for lastlogin

Query: lastlogin

OS: freebsd

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LASTLOGIN(8)						    BSD System Manager's Manual 					      LASTLOGIN(8)

NAME
lastlogin -- indicate last login time of users
SYNOPSIS
lastlogin [-f file] [-rt] [user ...]
DESCRIPTION
The lastlogin utility will list the last login session of each specified user, 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 more than one user is given, the session information for each user is printed in the order given on the command line. Otherwise, informa- tion for all users is printed. By default, the entries are sorted by user name. The lastlogin utility differs from last(1) in that it only prints information regarding the very last login session. The last login database is never turned over or deleted in standard usage. The following options are available: -f file Open last login database file instead of the system-wide database. -r Print the entries in reverse sorted order. -t Sort the elements by last login time, instead of user name.
FILES
/var/log/utx.lastlogin last login database
SEE ALSO
last(1), getutxent(3), ac(8)
AUTHORS
John M. Vinopal wrote this program in January 1996 and contributed it to the NetBSD project.
BSD
June 6, 2011 BSD
Related Man Pages
utx(8) - freebsd
lastlog(8) - linux
lastb(1) - hpux
lastlogin(8) - netbsd
who(1) - freebsd
Similar Topics in the Unix Linux Community
view others process
Disable users to direct login
AIX prompt delayed when users increase
Confused - Can banned users still login?
Prevent user from creating new user from his login