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

« back to all changes in this revision

Viewing changes to man/sv/faillog.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: faillog
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 "FAILLOG" "8" "03-04-2008" "Systemhanteringskommandon" "Systemhanteringskommandon"
 
8
.TH "FAILLOG" "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
\fBfaillog\fR
22
22
formats the contents of the failure log from
23
23
\fI/var/log/faillog\fR
24
 
database\. It also can be used for maintains failure counters and limits\. Run
 
24
database\&. It also can be used for maintains failure counters and limits\&. Run
25
25
\fBfaillog\fR
26
 
without arguments display only list of user faillog records who have ever had a login failure\.
 
26
without arguments display only list of user faillog records who have ever had a login failure\&.
27
27
.SH "FLAGGOR"
28
28
.PP
29
29
Flaggorna som gäller för kommandot
32
32
.PP
33
33
\fB\-a\fR, \fB\-\-all\fR
34
34
.RS 4
35
 
Display faillog records for all users\.
 
35
Display (or act on) faillog records for all users having an entry in the
 
36
\fIfaillog\fR
 
37
database\&.
36
38
.RE
37
39
.PP
38
40
\fB\-h\fR, \fB\-\-help\fR
39
41
.RS 4
40
 
Visa hjälpmeddelande och avsluta\.
 
42
Visa hjälpmeddelande och avsluta\&.
41
43
.RE
42
44
.PP
43
45
\fB\-l\fR, \fB\-\-lock\-time\fR\fISEK\fR
44
46
.RS 4
45
47
Lås kontot
46
48
\fISEK\fR
47
 
sekunder efter misslyckad inloggning\.
 
49
sekunder efter misslyckad inloggning\&.
 
50
.sp
 
51
Write access to
 
52
\fI/var/log/faillog\fR
 
53
is required for this option\&.
48
54
.RE
49
55
.PP
50
56
\fB\-m\fR, \fB\-\-maximum\fR\fIMAX\fR
51
57
.RS 4
52
58
Set maximum number of login failures after the account is disabled to
53
 
\fIMAX\fR\. Selecting
 
59
\fIMAX\fR\&.
 
60
.sp
 
61
Selecting a
54
62
\fIMAX\fR
55
 
value of 0 has the effect of not placing a limit on the number of failed logins\. The maximum failure count should always be 0 for
 
63
value of 0 has the effect of not placing a limit on the number of failed logins\&.
 
64
.sp
 
65
The maximum failure count should always be 0 for
56
66
\fIroot\fR
57
 
to prevent a denial of services attack against the system\.
 
67
to prevent a denial of services attack against the system\&.
 
68
.sp
 
69
Write access to
 
70
\fI/var/log/faillog\fR
 
71
is required for this option\&.
58
72
.RE
59
73
.PP
60
74
\fB\-r\fR, \fB\-\-reset\fR
62
76
Reset the counters of login failures or one record if used with the
63
77
\fB\-u\fR
64
78
\fILOGIN\fR
65
 
option\. Write access to
 
79
option\&.
 
80
.sp
 
81
Write access to
66
82
\fI/var/log/faillog\fR
67
 
is required for this option\.
 
83
is required for this option\&.
68
84
.RE
69
85
.PP
70
86
\fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
71
87
.RS 4
72
88
Display faillog records more recent than
73
 
\fIDAYS\fR\. The
74
 
\fB\-t\fR
75
 
flag overrides the use of
76
 
\fB\-u\fR\.
 
89
\fIDAYS\fR\&.
77
90
.RE
78
91
.PP
79
 
\fB\-u\fR, \fB\-\-user\fR\fIINLOGGNINGSNAMN\fR
 
92
\fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
80
93
.RS 4
81
94
Display faillog record or maintains failure counters and limits (if used with
82
95
\fB\-l\fR,
83
96
\fB\-m\fR
84
97
or
85
98
\fB\-r\fR
86
 
options) only for user with
87
 
\fILOGIN\fR\.
 
99
options) only for the specified user(s)\&.
 
100
.sp
 
101
The users can be specified by a login name, a numerical user ID, or a
 
102
\fIRANGE\fR
 
103
of users\&. This
 
104
\fIRANGE\fR
 
105
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)\&.
88
106
.RE
 
107
.PP
 
108
When none of the
 
109
\fB\-l\fR,
 
110
\fB\-m\fR, or
 
111
\fB\-r\fR
 
112
options are used,
 
113
\fBfaillog\fR
 
114
displays the faillog record of the specified user(s)\&.
 
115
.PP
 
116
NOTE: in display mode, only the records of users which currently exist in the system are displayed\&. In the other modes (when the
 
117
\fB\-l\fR,
 
118
\fB\-m\fR, or
 
119
\fB\-r\fR
 
120
options are used), the records of the user, or the range of users, or all the users that may have an entry in the faillog database will be changed\&. This is useful to reset records of users that have been deleted or set a policy in advance for a range of users\&.
89
121
.SH "TÄNK PÅ"
90
122
.PP
91
123
 
92
124
\fBfaillog\fR
93
 
only prints out users with no successful login since the last failure\. To print out a user who has had a successful login since their last failure, you must explicitly request the user with the
 
125
only prints out users with no successful login since the last failure\&. To print out a user who has had a successful login since their last failure, you must explicitly request the user with the
94
126
\fB\-u\fR
95
127
flag, or print out all users with the
96
128
\fB\-a\fR
97
 
flag\.
 
129
flag\&.
98
130
.SH "FILER"
99
131
.PP
100
132
\fI/var/log/faillog\fR
101
133
.RS 4
102
 
Failure logging file\.
 
134
Failure logging file\&.
103
135
.RE
104
136
.SH "SE OCKSÅ"
105
137
.PP
106
138
\fBlogin\fR(1),
107
 
\fBfaillog\fR(5)\.
 
139
\fBfaillog\fR(5)\&.