lastlog8lastlogexamine lastlog filelastlogoptionsDESCRIPTIONlastlog formats and prints the contents of the last
login log /var/log/lastlog file. The login-name, port,
and last login time will be printed.
The default (no flags) causes lastlog entries to be printed, sorted by
their order in /etc/passwd.
OPTIONS
The options which apply to the lastlog
command are:
,
Print help message and exit.
,
DAYS
Print the lastlog records more recent than
DAYS.
,
LOGINPrint the lastlog record for user with specified
LOGIN only.
The flag overrides the use of .
If the user has never logged in the message
**Never logged in** will be displayed instead of the port and
time.
FILES/var/log/lastloglastlog logging fileCAVEATSLarge gaps in uid numbers will cause the lastlog program to run
longer with no output to the screen (i.e. if mmdf=800 and last
uid=170, program will appear to hang as it processes uid 171-799).
AUTHORSJulianne Frances Haugh (jockgrrl@ix.netcom.com)
Phillip Street