summaryrefslogtreecommitdiff
path: root/modules/pam_faillock/faillock.8
blob: 3ba58aa0375c195833dac711f2fcdd283e44c54a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
'\" t
.\"     Title: faillock
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: 06/08/2020
.\"    Manual: Linux-PAM Manual
.\"    Source: Linux-PAM Manual
.\"  Language: English
.\"
.TH "FAILLOCK" "8" "06/08/2020" "Linux-PAM Manual" "Linux\-PAM Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
faillock \- Tool for displaying and modifying the authentication failure record files
.SH "SYNOPSIS"
.HP \w'\fBfaillock\fR\ 'u
\fBfaillock\fR [\-\-dir\ \fI/path/to/tally\-directory\fR] [\-\-user\ \fIusername\fR] [\-\-reset]
.SH "DESCRIPTION"
.PP
The
\fIpam_faillock\&.so\fR
module maintains a list of failed authentication attempts per user during a specified interval and locks the account in case there were more than
\fIdeny\fR
consecutive failed authentications\&. It stores the failure records into per\-user files in the tally directory\&.
.PP
The
\fBfaillock\fR
command is an application which can be used to examine and modify the contents of the tally files\&. It can display the recent failed authentication attempts of the
\fIusername\fR
or clear the tally files of all or individual
\fIusernames\fR\&.
.SH "OPTIONS"
.PP
\fB\-\-dir \fR\fB\fI/path/to/tally\-directory\fR\fR
.RS 4
The directory where the user files with the failure records are kept\&. The default is
/var/run/faillock\&.
.RE
.PP
\fB\-\-user \fR\fB\fIusername\fR\fR
.RS 4
The user whose failure records should be displayed or cleared\&.
.RE
.PP
\fB\-\-reset\fR
.RS 4
Instead of displaying the user\*(Aqs failure records, clear them\&.
.RE
.SH "FILES"
.PP
/var/run/faillock/*
.RS 4
the files logging the authentication failures for users
.RE
.SH "SEE ALSO"
.PP
\fBpam_faillock\fR(8),
\fBpam\fR(8)
.SH "AUTHOR"
.PP
faillock was written by Tomas Mraz\&.