diff options
Diffstat (limited to '')
-rw-r--r-- | modules/pam_warn/pam_warn.8 | 89 | ||||
-rw-r--r-- | modules/pam_warn/pam_warn.8.xml | 105 |
2 files changed, 194 insertions, 0 deletions
diff --git a/modules/pam_warn/pam_warn.8 b/modules/pam_warn/pam_warn.8 new file mode 100644 index 0000000..2b990fa --- /dev/null +++ b/modules/pam_warn/pam_warn.8 @@ -0,0 +1,89 @@ +'\" t +.\" Title: pam_warn +.\" Author: [see the "AUTHOR" section] +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 09/03/2021 +.\" Manual: Linux-PAM Manual +.\" Source: Linux-PAM Manual +.\" Language: English +.\" +.TH "PAM_WARN" "8" "09/03/2021" "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_warn \- PAM module which logs all PAM items if called +.SH "SYNOPSIS" +.HP \w'\fBpam_warn\&.so\fR\ 'u +\fBpam_warn\&.so\fR +.SH "DESCRIPTION" +.PP +pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host to +\fBsyslog\fR(3)\&. The items are not probed for, but instead obtained from the standard PAM items\&. The module always returns +\fBPAM_IGNORE\fR, indicating that it does not want to affect the authentication process\&. +.SH "OPTIONS" +.PP +This module does not recognise any options\&. +.SH "MODULE TYPES PROVIDED" +.PP +The +\fBauth\fR, +\fBaccount\fR, +\fBpassword\fR +and +\fBsession\fR +module types are provided\&. +.SH "RETURN VALUES" +.PP +PAM_IGNORE +.RS 4 +This module always returns PAM_IGNORE\&. +.RE +.SH "EXAMPLES" +.sp +.if n \{\ +.RS 4 +.\} +.nf +#%PAM\-1\&.0 +# +# If we don\*(Aqt have config entries for a service, the +# OTHER entries are used\&. To be secure, warn and deny +# access to everything\&. +other auth required pam_warn\&.so +other auth required pam_deny\&.so +other account required pam_warn\&.so +other account required pam_deny\&.so +other password required pam_warn\&.so +other password required pam_deny\&.so +other session required pam_warn\&.so +other session required pam_deny\&.so + +.fi +.if n \{\ +.RE +.\} +.SH "SEE ALSO" +.PP +\fBpam.conf\fR(5), +\fBpam.d\fR(5), +\fBpam\fR(8) +.SH "AUTHOR" +.PP +pam_warn was written by Andrew G\&. Morgan <morgan@kernel\&.org>\&. diff --git a/modules/pam_warn/pam_warn.8.xml b/modules/pam_warn/pam_warn.8.xml new file mode 100644 index 0000000..1764ec9 --- /dev/null +++ b/modules/pam_warn/pam_warn.8.xml @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding='UTF-8'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> + +<refentry id="pam_warn"> + + <refmeta> + <refentrytitle>pam_warn</refentrytitle> + <manvolnum>8</manvolnum> + <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + </refmeta> + <refnamediv id="pam_warn-name"> + <refname>pam_warn</refname> + <refpurpose>PAM module which logs all PAM items if called</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis id="pam_warn-cmdsynopsis"> + <command>pam_warn.so</command> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1 id="pam_warn-description"> + <title>DESCRIPTION</title> + <para> + pam_warn is a PAM module that logs the service, terminal, user, + remote user and remote host to + <citerefentry> + <refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum> + </citerefentry>. The items are not probed for, but instead obtained + from the standard PAM items. The module always returns + <emphasis remap='B'>PAM_IGNORE</emphasis>, indicating that it + does not want to affect the authentication process. + </para> + </refsect1> + + <refsect1 id="pam_warn-options"> + <title>OPTIONS</title> + <para>This module does not recognise any options.</para> + </refsect1> + + <refsect1 id="pam_warn-types"> + <title>MODULE TYPES PROVIDED</title> + <para> + The <option>auth</option>, <option>account</option>, + <option>password</option> and <option>session</option> module + types are provided. + </para> + </refsect1> + + <refsect1 id='pam_warn-return_values'> + <title>RETURN VALUES</title> + <variablelist> + <varlistentry> + <term>PAM_IGNORE</term> + <listitem> + <para> + This module always returns PAM_IGNORE. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id='pam_warn-examples'> + <title>EXAMPLES</title> + <programlisting> +#%PAM-1.0 +# +# If we don't have config entries for a service, the +# OTHER entries are used. To be secure, warn and deny +# access to everything. +other auth required pam_warn.so +other auth required pam_deny.so +other account required pam_warn.so +other account required pam_deny.so +other password required pam_warn.so +other password required pam_deny.so +other session required pam_warn.so +other session required pam_deny.so + </programlisting> + </refsect1> + + <refsect1 id='pam_warn-see_also'> + <title>SEE ALSO</title> + <para> + <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_warn-author'> + <title>AUTHOR</title> + <para> + pam_warn was written by Andrew G. Morgan <morgan@kernel.org>. + </para> + </refsect1> + +</refentry> |