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: System Management Commands
7 .\" Source: System Management Commands
10 .TH "LASTLOG" "8" "16/02/2011" "System Management Commands" "System Management Commands"
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 [\fIopzioni\fR]
38 mostra il log degli ultimi accessi, contenuto nel file
39 /var/log/lastlog\&. Le informazioni mostrate sono il
42 \fIdata dell\*(Aqultimo accesso\fR\&. Il comportamento predefinito (nessuna opzione specificata) \(`e di mostrare i record di ultimo accesso per tutti gli utenti, nell\*(Aqordine in cui compaiono in
48 accetta le seguenti opzioni:
50 \fB\-b\fR, \fB\-\-before\fR \fIDAYS\fR
52 Print only lastlog records older than
56 \fB\-h\fR, \fB\-\-help\fR
58 Mostra un messaggio di aiuto ed esce\&.
61 \fB\-t\fR, \fB\-\-time\fR\fIGIORNI\fR
63 Mostra solo i record di ultimo accesso pi\(`u recenti di un numero di
67 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
69 Print the lastlog record of the specified user(s)\&.
71 The users can be specified by a login name, a numerical user ID, or a
75 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)\&.
78 If the user has never logged in the message
79 \fI** Never logged in**\fR
80 will be displayed instead of the port and time\&.
82 Only the entries for the current users of the system will be displayed\&. Other entries may exist for users that were deleted previously\&.
87 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
89 users with a high UID)\&. You can display its real size with "\fBls \-s\fR"\&.
94 Database times of previous user logins\&.
98 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)\&.