diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:01:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:01:37 +0000 |
commit | de848d9e9146434817c65d74d1d0313e9d729462 (patch) | |
tree | dcbd0efb229b17f696f7195671f05b354b4f70fc /modules/pam_faildelay/pam_faildelay.8 | |
parent | Initial commit. (diff) | |
download | pam-de848d9e9146434817c65d74d1d0313e9d729462.tar.xz pam-de848d9e9146434817c65d74d1d0313e9d729462.zip |
Adding upstream version 1.4.0.upstream/1.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | modules/pam_faildelay/pam_faildelay.8 | 93 | ||||
-rw-r--r-- | modules/pam_faildelay/pam_faildelay.8.xml | 136 |
2 files changed, 229 insertions, 0 deletions
diff --git a/modules/pam_faildelay/pam_faildelay.8 b/modules/pam_faildelay/pam_faildelay.8 new file mode 100644 index 0000000..4cefeed --- /dev/null +++ b/modules/pam_faildelay/pam_faildelay.8 @@ -0,0 +1,93 @@ +'\" t +.\" Title: pam_faildelay +.\" 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 "PAM_FAILDELAY" "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" +pam_faildelay \- Change the delay on failure per\-application +.SH "SYNOPSIS" +.HP \w'\fBpam_faildelay\&.so\fR\ 'u +\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\&. +.PP +If no +\fBdelay\fR +is given, pam_faildelay will use the value of FAIL_DELAY from +/etc/login\&.defs\&. +.SH "OPTIONS" +.PP +\fBdebug\fR +.RS 4 +Turns on debugging messages sent to syslog\&. +.RE +.PP +\fBdelay=\fR\fB\fIN\fR\fR +.RS 4 +Set the delay on failure to N microseconds\&. +.RE +.SH "MODULE TYPES PROVIDED" +.PP +Only the +\fBauth\fR +module type is provided\&. +.SH "RETURN VALUES" +.PP +PAM_IGNORE +.RS 4 +Delay was successful adjusted\&. +.RE +.PP +PAM_SYSTEM_ERR +.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 +.if n \{\ +.RS 4 +.\} +.nf +auth optional pam_faildelay\&.so delay=10000000 + +.fi +.if n \{\ +.RE +.\} +.sp +.SH "SEE ALSO" +.PP +\fBpam_fail_delay\fR(3), +\fBpam.conf\fR(5), +\fBpam.d\fR(5), +\fBpam\fR(8) +.SH "AUTHOR" +.PP +pam_faildelay was written by Darren Tucker <dtucker@zip\&.com\&.au>\&. diff --git a/modules/pam_faildelay/pam_faildelay.8.xml b/modules/pam_faildelay/pam_faildelay.8.xml new file mode 100644 index 0000000..5710720 --- /dev/null +++ b/modules/pam_faildelay/pam_faildelay.8.xml @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding='UTF-8'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> + +<refentry id="pam_faildelay"> + + <refmeta> + <refentrytitle>pam_faildelay</refentrytitle> + <manvolnum>8</manvolnum> + <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + </refmeta> + + <refnamediv id="pam_faildelay-name"> + <refname>pam_faildelay</refname> + <refpurpose>Change the delay on failure per-application</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis id="pam_faildelay-cmdsynopsis"> + <command>pam_faildelay.so</command> + <arg choice="opt"> + debug + </arg> + <arg choice="opt"> + delay=<replaceable>microseconds</replaceable> + </arg> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1 id="pam_faildelay-description"> + + <title>DESCRIPTION</title> + + <para> + pam_faildelay is a PAM module that can be used to set + the delay on failure per-application. + </para> + <para> + If no <option>delay</option> is given, pam_faildelay will + use the value of FAIL_DELAY from <filename>/etc/login.defs</filename>. + </para> + </refsect1> + + <refsect1 id="pam_faildelay-options"> + + <title>OPTIONS</title> + <variablelist> + <varlistentry> + <term> + <option>debug</option> + </term> + <listitem> + <para> + Turns on debugging messages sent to syslog. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <option>delay=<replaceable>N</replaceable></option> + </term> + <listitem> + <para> + Set the delay on failure to N microseconds. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id="pam_faildelay-types"> + <title>MODULE TYPES PROVIDED</title> + <para> + Only the <option>auth</option> module type is provided. + </para> + </refsect1> + + <refsect1 id='pam_faildelay-return_values'> + <title>RETURN VALUES</title> + <variablelist> + <varlistentry> + <term>PAM_IGNORE</term> + <listitem> + <para> + Delay was successful adjusted. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>PAM_SYSTEM_ERR</term> + <listitem> + <para> + The specified delay was not valid. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id='pam_faildelay-examples'> + <title>EXAMPLES</title> + <para> + The following example will set the delay on failure to + 10 seconds: + <programlisting> +auth optional pam_faildelay.so delay=10000000 + </programlisting> + </para> + </refsect1> + + <refsect1 id='pam_faildelay-see_also'> + <title>SEE ALSO</title> + <para> + <citerefentry> + <refentrytitle>pam_fail_delay</refentrytitle><manvolnum>3</manvolnum> + </citerefentry>, + <citerefentry> + <refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum> + </citerefentry>, + <citerefentry> + <refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum> + </citerefentry>, + <citerefentry> + <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum> + </citerefentry> + </para> + </refsect1> + + <refsect1 id='pam_faildelay-author'> + <title>AUTHOR</title> + <para> + pam_faildelay was written by Darren Tucker <dtucker@zip.com.au>. + </para> + </refsect1> + +</refentry> |