3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: Systemhanteringskommandon
6
6
.\" Source: Systemhanteringskommandon
8
.TH "LASTLOG" "8" "03-04-2008" "Systemhanteringskommandon" "Systemhanteringskommandon"
8
.TH "LASTLOG" "8" "15-04-2009" "Systemhanteringskommandon" "Systemhanteringskommandon"
9
9
.\" disable hyphenation
11
11
.\" disable justification (adjust text to left margin only)
22
22
formats and prints the contents of the last login log
23
23
\fI/var/log/lastlog\fR
27
27
\fIlast login time\fR
28
will be printed\. The default (no flags) causes lastlog entries to be printed, sorted by their order in
28
will be printed\&. The default (no flags) causes lastlog entries to be printed, sorted by their order in
32
32
Flaggorna som gäller för kommandot
36
36
\fB\-b\fR, \fB\-\-before\fR\fIDAGAR\fR
38
38
Print only lastlog records older than
42
42
\fB\-h\fR, \fB\-\-help\fR
44
Visa hjälpmeddelande och avsluta\.
44
Visa hjälpmeddelande och avsluta\&.
47
47
\fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
49
49
Print the lastlog records more recent than
53
53
\fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
55
Print the lastlog record of the specified user(s)\.
55
Print the lastlog record of the specified user(s)\&.
57
57
The users can be specified by a login name, a numerical user ID, or a
61
of users can be specified with a min and max values (\fIUID_MIN\-UID_MAX\fR), a max value (\fI\-UID_MAX\fR), or a min value (\fIUID_MIN\-\fR)\.
61
of users can be specified with a min and max values (\fIUID_MIN\-UID_MAX\fR), a max value (\fI\-UID_MAX\fR), or a min value (\fIUID_MIN\-\fR)\&.
64
64
If the user has never logged in the message
65
65
\fI** Never logged in**\fR
66
will be displayed instead of the port and time\.
66
will be displayed instead of the port and time\&.
68
Only the entries for the current users of the system will be displayed\&. Other entries may exist for users that were deleted previously\&.
71
file is a database which contains info on the last login of each user\. You should not rotate it\. It is a sparse file, so its size on the disk is usually much smaller than the one shown by "\fBls \-l\fR" (which can indicate a really big file if you have in
73
file is a database which contains info on the last login of each user\&. You should not rotate it\&. It is a sparse file, so its size on the disk is usually much smaller than the one shown by "\fBls \-l\fR" (which can indicate a really big file if you have in
73
users with a high UID)\. You can display its real size with "\fBls \-s\fR"\.
75
users with a high UID)\&. You can display its real size with "\fBls \-s\fR"\&.
76
78
\fI/var/log/lastlog\fR
78
Databastider för tidigare användarinloggningar\.
80
Databastider för tidigare användarinloggningar\&.
82
Large gaps in UID numbers will cause the lastlog program to run longer with no output to the screen (i\.e\. if in lastlog database there is no entries for users with UID between 170 and 800 lastlog will appear to hang as it processes entries with UIDs 171\-799)\.
84
Large gaps in UID numbers will cause the lastlog program to run longer with no output to the screen (i\&.e\&. if in lastlog database there is no entries for users with UID between 170 and 800 lastlog will appear to hang as it processes entries with UIDs 171\-799)\&.