LASTLOG2(8) | lastlog2 | LASTLOG2(8) |
NAME¶
lastlog2 - display date of last login for all users or a specific one
SYNOPSIS¶
lastlog2 [option...]
DESCRIPTION¶
lastlog2 displays the content of the last login database. The login name, last login time, tty and remote host will be printed. The default (no flags) causes all last login entries to be printed, sorted by the order as written the first time into the database.
Compared to lastlog this command is Y2038 safe and uses sqlite3 to store the information and not a sparse file.
OPTIONS¶
-b, --before DAYS
-C, --clear
-d, --database FILE
-h, --help
-i, --import FILE
-r, --rename NEWNAME
-s, --service
-S, --set
-t, --time DAYS
-u, --user LOGIN
-v, --version
If the user has never logged in the message **Never logged in** will be displayed in the latest login time row.
Only the entries for the current users of the system will be displayed. Other entries may exist for users that were deleted previously.
FILES¶
/var/lib/lastlog/lastlog2.db
SEE ALSO¶
AUTHOR¶
lastlog2 was written by Thorsten Kukuk <kukuk@suse.com>.
02/16/2024 | lastlog2 1.3.1 |