Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / it / lastlog.8
1 '\" t
2 .\"     Title: lastlog
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 16/02/2011
6 .\"    Manual: System Management Commands
7 .\"    Source: System Management Commands
8 .\"  Language: Italian
9 .\"
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NOME"
31 lastlog \- reports the most recent login of all users or of a given user
32 .SH "SINOSSI"
33 .HP \w'\fBlastlog\fR\ 'u
34 \fBlastlog\fR [\fIopzioni\fR]
35 .SH "DESCRIZIONE"
36 .PP
37 \fBlastlog\fR
38 mostra il log degli ultimi accessi, contenuto nel file
39 /var/log/lastlog\&. Le informazioni mostrate sono il
40 \fInome utente\fR, la
41 \fIporta\fR, e la
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
43 /etc/passwd\&.
44 .SH "OPZIONI"
45 .PP
46 Il comando
47 \fBlastlog\fR
48 accetta le seguenti opzioni:
49 .PP
50 \fB\-b\fR, \fB\-\-before\fR \fIDAYS\fR
51 .RS 4
52 Print only lastlog records older than
53 \fIDAYS\fR\&.
54 .RE
55 .PP
56 \fB\-h\fR, \fB\-\-help\fR
57 .RS 4
58 Mostra un messaggio di aiuto ed esce\&.
59 .RE
60 .PP
61 \fB\-t\fR, \fB\-\-time\fR\fIGIORNI\fR
62 .RS 4
63 Mostra solo i record di ultimo accesso pi\(`u recenti di un numero di
64 \fIGIORNI\fR\&.
65 .RE
66 .PP
67 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
68 .RS 4
69 Print the lastlog record of the specified user(s)\&.
70 .sp
71 The users can be specified by a login name, a numerical user ID, or a
72 \fIRANGE\fR
73 of users\&. This
74 \fIRANGE\fR
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)\&.
76 .RE
77 .PP
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\&.
81 .PP
82 Only the entries for the current users of the system will be displayed\&. Other entries may exist for users that were deleted previously\&.
83 .SH "NOTA"
84 .PP
85 The
86 lastlog
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
88 passwd
89 users with a high UID)\&. You can display its real size with "\fBls \-s\fR"\&.
90 .SH "FILE"
91 .PP
92 /var/log/lastlog
93 .RS 4
94 Database times of previous user logins\&.
95 .RE
96 .SH "AVVISI/CAVEAT"
97 .PP
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)\&.