diff options
Diffstat (limited to 'Linux-PAM/modules/pam_faildelay')
-rw-r--r-- | Linux-PAM/modules/pam_faildelay/pam_faildelay.8 | 50 | ||||
-rw-r--r-- | Linux-PAM/modules/pam_faildelay/pam_faildelay.c | 2 |
2 files changed, 30 insertions, 22 deletions
diff --git a/Linux-PAM/modules/pam_faildelay/pam_faildelay.8 b/Linux-PAM/modules/pam_faildelay/pam_faildelay.8 index 86eb031a..7e5312a4 100644 --- a/Linux-PAM/modules/pam_faildelay/pam_faildelay.8 +++ b/Linux-PAM/modules/pam_faildelay/pam_faildelay.8 @@ -1,54 +1,62 @@ .\" Title: pam_faildelay .\" Author: -.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> -.\" Date: 12/06/2006 -.\" Manual: Linux\-PAM Manual -.\" Source: Linux\-PAM Manual +.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/> +.\" Date: 01/08/2008 +.\" Manual: Linux-PAM Manual +.\" Source: Linux-PAM Manual .\" -.TH "PAM_FAILDELAY" "8" "12/06/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" +.TH "PAM_FAILDELAY" "8" "01/08/2008" "Linux-PAM Manual" "Linux\-PAM Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" -pam_faildelay \- Change the delay on failure per\-application +pam_faildelay - Change the delay on failure per-application .SH "SYNOPSIS" .HP 17 -\fBpam_faildelay.so\fR [debug] [delay=\fImicroseconds\fR] +\fBpam_faildelay\.so\fR [debug] [delay=\fImicroseconds\fR] .SH "DESCRIPTION" .PP -pam_faildelay is a PAM module that can be used to set the delay on failure per\-application. +pam_faildelay is a PAM module that can be used to set the delay on failure per\-application\. .PP If no \fBdelay\fR is given, pam_faildelay will use the value of FAIL_DELAY from -\fI/etc/login.defs\fR. +\fI/etc/login\.defs\fR\. .SH "OPTIONS" -.TP 3n +.PP \fBdebug\fR -Turns on debugging messages sent to syslog. -.TP 3n +.RS 4 +Turns on debugging messages sent to syslog\. +.RE +.PP \fBdelay=\fR\fB\fIN\fR\fR -Set the delay on failure to N microseconds. +.RS 4 +Set the delay on failure to N microseconds\. +.RE .SH "MODULE SERVICES PROVIDED" .PP Only the \fBauth\fR -service is supported. +service is supported\. .SH "RETURN VALUES" -.TP 3n +.PP PAM_IGNORE -Delay was successful adjusted. -.TP 3n +.RS 4 +Delay was successful adjusted\. +.RE +.PP PAM_SYSTEM_ERR -The specified delay was not valid. +.RS 4 +The specified delay was not valid\. +.RE .SH "EXAMPLES" .PP The following example will set the delay on failure to 10 seconds: .sp -.RS 3n +.RS 4 .nf -auth optional pam_faildelay.so delay=10000000 +auth optional pam_faildelay\.so delay=10000000 .fi .RE @@ -62,4 +70,4 @@ auth optional pam_faildelay.so delay=10000000 \fBpam\fR(8) .SH "AUTHOR" .PP -pam_faildelay was written by Darren Tucker <dtucker@zip.com.au>. +pam_faildelay was written by Darren Tucker <dtucker@zip\.com\.au>\. diff --git a/Linux-PAM/modules/pam_faildelay/pam_faildelay.c b/Linux-PAM/modules/pam_faildelay/pam_faildelay.c index 16cb7458..072b7dd3 100644 --- a/Linux-PAM/modules/pam_faildelay/pam_faildelay.c +++ b/Linux-PAM/modules/pam_faildelay/pam_faildelay.c @@ -216,7 +216,7 @@ int pam_sm_setcred(pam_handle_t *pamh UNUSED, int flags UNUSED, /* static module data */ -struct pam_module _pam_rootok_modstruct = { +struct pam_module _pam_faildelay_modstruct = { "pam_faildelay", pam_sm_authenticate, pam_sm_setcred, |