3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Systemhanteringskommandon
7 .\" Source: Systemhanteringskommandon
10 .TH "FAILLOG" "8" "24-07-2009" "Systemhanteringskommandon" "Systemhanteringskommandon"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 faillog \- display faillog records or set login failure limits
24 .HP \w'\fBfaillog\fR\ 'u
25 \fBfaillog\fR [\fIflaggor\fR]
30 displays the contents of the failure log database (/var/log/faillog)\&. It can also set the failure counters and limits\&. When
32 is run without arguments, it only displays the faillog records of the users who had a login failure\&.
35 Flaggorna som g\(:aller f\(:or kommandot
39 \fB\-a\fR, \fB\-\-all\fR
41 Display (or act on) faillog records for all users having an entry in the
46 \fB\-h\fR, \fB\-\-help\fR
48 Visa hj\(:alpmeddelande och avsluta\&.
51 \fB\-l\fR, \fB\-\-lock\-time\fR\fISEK\fR
55 seconds after failed login\&.
59 is required for this option\&.
62 \fB\-m\fR, \fB\-\-maximum\fR\fIMAX\fR
64 Set the maximum number of login failures after the account is disabled to
69 value of 0 has the effect of not placing a limit on the number of failed logins\&.
71 The maximum failure count should always be 0 for
73 to prevent a denial of services attack against the system\&.
77 is required for this option\&.
80 \fB\-r\fR, \fB\-\-reset\fR
82 Reset the counters of login failures\&.
86 is required for this option\&.
89 \fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
91 Display faillog records more recent than
95 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
97 Display faillog record or maintains failure counters and limits (if used with
102 options) only for the specified user(s)\&.
104 The users can be specified by a login name, a numerical user ID, or a
108 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)\&.
117 displays the faillog record of the specified user(s)\&.
119 NOTE: in display mode, only the records of users which currently exist in the system are displayed\&. In the other modes (when the
123 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\&.
128 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
130 flag, or print out all users with the
137 Failure logging file\&.