~xnox/ubuntu/quantal/shadow/clear-locks

« back to all changes in this revision

Viewing changes to man/sv/lastlog.8

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: lastlog
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 03-04-2008
 
4
.\"      Date: 15-04-2009
5
5
.\"    Manual: Systemhanteringskommandon
6
6
.\"    Source: Systemhanteringskommandon
7
7
.\"
8
 
.TH "LASTLOG" "8" "03-04-2008" "Systemhanteringskommandon" "Systemhanteringskommandon"
 
8
.TH "LASTLOG" "8" "15-04-2009" "Systemhanteringskommandon" "Systemhanteringskommandon"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
21
21
\fBlastlog\fR
22
22
formats and prints the contents of the last login log
23
23
\fI/var/log/lastlog\fR
24
 
file\. The
 
24
file\&. The
25
25
\fIlogin\-name\fR,
26
26
\fIport\fR, and
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
29
 
\fI/etc/passwd\fR\.
 
28
will be printed\&. The default (no flags) causes lastlog entries to be printed, sorted by their order in
 
29
\fI/etc/passwd\fR\&.
30
30
.SH "FLAGGOR"
31
31
.PP
32
32
Flaggorna som gäller för kommandot
36
36
\fB\-b\fR, \fB\-\-before\fR\fIDAGAR\fR
37
37
.RS 4
38
38
Print only lastlog records older than
39
 
\fIDAYS\fR\.
 
39
\fIDAYS\fR\&.
40
40
.RE
41
41
.PP
42
42
\fB\-h\fR, \fB\-\-help\fR
43
43
.RS 4
44
 
Visa hjälpmeddelande och avsluta\.
 
44
Visa hjälpmeddelande och avsluta\&.
45
45
.RE
46
46
.PP
47
47
\fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
48
48
.RS 4
49
49
Print the lastlog records more recent than
50
 
\fIDAYS\fR\.
 
50
\fIDAYS\fR\&.
51
51
.RE
52
52
.PP
53
53
\fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
54
54
.RS 4
55
 
Print the lastlog record of the specified user(s)\.
 
55
Print the lastlog record of the specified user(s)\&.
56
56
.sp
57
57
The users can be specified by a login name, a numerical user ID, or a
58
58
\fIRANGE\fR
59
 
of users\. This
 
59
of users\&. This
60
60
\fIRANGE\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)\.
 
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)\&.
62
62
.RE
63
63
.PP
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\&.
 
67
.PP
 
68
Only the entries for the current users of the system will be displayed\&. Other entries may exist for users that were deleted previously\&.
67
69
.SH "NOTERA"
68
70
.PP
69
71
The
70
72
\fIlastlog\fR
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
72
74
\fIpasswd\fR
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"\&.
74
76
.SH "FILER"
75
77
.PP
76
78
\fI/var/log/lastlog\fR
77
79
.RS 4
78
 
Databastider för tidigare användarinloggningar\.
 
80
Databastider för tidigare användarinloggningar\&.
79
81
.RE
80
82
.SH "TÄNK PÅ"
81
83
.PP
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)\&.