3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Systemhanteringskommandon
7 .\" Source: Systemhanteringskommandon
10 .TH "LASTLOG" "8" "16-02-2011" "Systemhanteringskommandon" "Systemhanteringskommandon"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 lastlog \- reports the most recent login of all users or of a given user
33 .HP \w'\fBlastlog\fR\ 'u
34 \fBlastlog\fR [\fIflaggor\fR]
39 formats and prints the contents of the last login log
45 will be printed\&. The default (no flags) causes lastlog entries to be printed, sorted by their order in
49 Flaggorna som g\(:aller f\(:or kommandot
53 \fB\-b\fR, \fB\-\-before\fR\fIDAGAR\fR
55 Print only lastlog records older than
59 \fB\-h\fR, \fB\-\-help\fR
61 Visa hj\(:alpmeddelande och avsluta\&.
64 \fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
66 Print the lastlog records more recent than
70 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
72 Print the lastlog record of the specified user(s)\&.
74 The users can be specified by a login name, a numerical user ID, or a
78 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)\&.
81 If the user has never logged in the message
82 \fI** Never logged in**\fR
83 will be displayed instead of the port and time\&.
85 Only the entries for the current users of the system will be displayed\&. Other entries may exist for users that were deleted previously\&.
90 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
92 users with a high UID)\&. You can display its real size with "\fBls \-s\fR"\&.
97 Databastider f\(:or tidigare anv\(:andarinloggningar\&.
101 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)\&.