summaryrefslogtreecommitdiffstats
path: root/login-utils/login.1
diff options
context:
space:
mode:
authorKarel Zak2011-11-07 11:04:44 +0100
committerKarel Zak2011-11-07 11:04:44 +0100
commitf950752b90a5d9f2a6733aeaa30569459514ff9f (patch)
treefbf737622900d92ac6b8de1e15be5e0271388372 /login-utils/login.1
parentprlimit: add --{raw,noheadings} options (diff)
downloadkernel-qcow2-util-linux-f950752b90a5d9f2a6733aeaa30569459514ff9f.tar.gz
kernel-qcow2-util-linux-f950752b90a5d9f2a6733aeaa30569459514ff9f.tar.xz
kernel-qcow2-util-linux-f950752b90a5d9f2a6733aeaa30569459514ff9f.zip
login: clean FAIL_DELAY usage
... with this patch: login(1) always uses sleep(FAIL_DELAY) before exit() if user is not authenticated or his PAM session is not fully initialized. Note that user has three attempts to write his password before login(1) is terminated. Reported-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/login.1')
-rw-r--r--login-utils/login.14
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/login.1 b/login-utils/login.1
index d9d833394..93ab82c91 100644
--- a/login-utils/login.1
+++ b/login-utils/login.1
@@ -149,8 +149,8 @@ Max time in seconds for login. The default value is 60.
.PP
\fBFAIL_DELAY\fR (number)
.RS 4
-Delay in seconds before being allowed another attempt after a login failure.
-The default value is 5.
+Delay in seconds before being allowed another three tries after a login
+failure. The default value is 5.
.RE
.PP
\fBTTYPERM\fR (string)