lastlogin(8)

NAME

lastlogin - indicate last login time of users

SYNOPSIS

lastlogin [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 con
tains 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,
information
for all users is printed, sorted by uid.
The lastlogin utility differs from last(1) in that it only
prints information regarding the very last login session. The last lo
gin database is
never turned over or deleted in standard usage.

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 con
tributed it to
the NetBSD project.
BSD January 11, 1996
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout