diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-04 02:02:21 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-04 02:02:21 +0000 |
commit | 161f0b1576ce70384aeb006a1cdbc8a11971db0a (patch) | |
tree | 34146a871d3c0534dd5f895b1de03c5d57a5e557 /modules/pam_permit | |
parent | d18ff5d080eb2518e8bef6601e64904428e3bb98 (diff) | |
download | pam-161f0b1576ce70384aeb006a1cdbc8a11971db0a.tar.gz pam-161f0b1576ce70384aeb006a1cdbc8a11971db0a.tar.bz2 pam-161f0b1576ce70384aeb006a1cdbc8a11971db0a.zip |
Relevant BUGIDs:
Purpose of commit: new feature
Commit summary:
---------------
2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
* modules/pam_permit/Makefile.am: Include Make.xml.rules.
* modules/pam_permit/pam_permit.8.xml: New.
* modules/pam_permit/pam_permit.8: New, generated from xml file.
* modules/pam_permit/README.xml: New.
* modules/pam_permit/README: Regenerated from xml file.
Diffstat (limited to 'modules/pam_permit')
-rw-r--r-- | modules/pam_permit/Makefile.am | 12 | ||||
-rw-r--r-- | modules/pam_permit/README | 32 | ||||
-rw-r--r-- | modules/pam_permit/README.xml | 41 | ||||
-rw-r--r-- | modules/pam_permit/pam_permit.8 | 62 | ||||
-rw-r--r-- | modules/pam_permit/pam_permit.8.xml | 105 |
5 files changed, 248 insertions, 4 deletions
diff --git a/modules/pam_permit/Makefile.am b/modules/pam_permit/Makefile.am index 90a5373d..76e24472 100644 --- a/modules/pam_permit/Makefile.am +++ b/modules/pam_permit/Makefile.am @@ -4,7 +4,10 @@ CLEANFILES = *~ -EXTRA_DIST = README tst-pam_permit +EXTRA_DIST = README $(MANS) $(XMLS) tst-pam_permit + +man_MANS = pam_permit.8 +XMLS = README.xml pam_permit.8.xml TESTS = tst-pam_permit @@ -19,3 +22,10 @@ if HAVE_VERSIONING endif securelib_LTLIBRARIES = pam_permit.la + +if ENABLE_REGENERATE_MAN +noinst_DATA = README +README: pam_permit.8.xml +-include $(top_srcdir)/Make.xml.rules +endif + diff --git a/modules/pam_permit/README b/modules/pam_permit/README index c399710c..e09ec9cf 100644 --- a/modules/pam_permit/README +++ b/modules/pam_permit/README @@ -1,4 +1,30 @@ -# $Id$ -# +pam_permit — The promiscuous module + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +DESCRIPTION + +pam_permit is a PAM module that always permit access. It does nothing else. + +In the case of authentication, the user's name will be set to nobody if the +application didn't set one. Many applications and PAM modules become confused +if this name is unknown. + +This module is very dangerous. It should be used with extreme caution. + +OPTIONS + +This module does not recognice any options. + +EXAMPLES + +Add this line to your other login entries to disable account management, but +continue to permit users to log in. + +account required pam_permit.so + + +AUTHOR + +pam_permit was written by Andrew G. Morgan, <morgan@kernel.org>. -this module always returns PAM_SUCCESS, it ignores all options. diff --git a/modules/pam_permit/README.xml b/modules/pam_permit/README.xml new file mode 100644 index 00000000..acb38b51 --- /dev/null +++ b/modules/pam_permit/README.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding='UTF-8'?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" +"http://www.docbook.org/xml/4.3/docbookx.dtd" +[ +<!-- +<!ENTITY pamaccess SYSTEM "pam_permit.8.xml"> +--> +]> + +<article> + + <articleinfo> + + <title> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="pam_permit.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_permit-name"]/*)'/> + </title> + + </articleinfo> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-description"]/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-options"]/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-examples"]/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="pam_permit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_permit-author"]/*)'/> + </section> + +</article> diff --git a/modules/pam_permit/pam_permit.8 b/modules/pam_permit/pam_permit.8 new file mode 100644 index 00000000..ce3c3290 --- /dev/null +++ b/modules/pam_permit/pam_permit.8 @@ -0,0 +1,62 @@ +.\" Title: pam_permit +.\" Author: +.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> +.\" Date: 06/04/2006 +.\" Manual: Linux\-PAM Manual +.\" Source: Linux\-PAM Manual +.\" +.TH "PAM_PERMIT" "8" "06/04/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +pam_permit \- The promiscuous module +.SH "SYNOPSIS" +.HP 14 +\fBpam_permit.so\fR +.SH "DESCRIPTION" +.PP +pam_permit is a PAM module that always permit access. It does nothing else. +.PP +In the case of authentication, the user's name will be set to +\fInobody\fR +if the application didn't set one. Many applications and PAM modules become confused if this name is unknown. +.PP +This module is very dangerous. It should be used with extreme caution. +.SH "OPTIONS" +.PP +This module does not recognice any options. +.SH "MODULE SERVICES PROVIDED" +.PP +The services +\fBauth\fR, +\fBaccount\fR, +\fBpassword\fR +and +\fBsession\fR +are supported. +.SH "RETURN VALUES" +.TP 3n +PAM_SUCCESS +This module always returns this value. +.SH "EXAMPLES" +.PP +Add this line to your other login entries to disable account management, but continue to permit users to log in. +.sp +.RS 3n +.nf +account required pam_permit.so + +.fi +.RE +.sp +.SH "SEE ALSO" +.PP + +\fBpam.conf\fR(5), +\fBpam.d\fR(8), +\fBpam\fR(8) +.SH "AUTHOR" +.PP +pam_permit was written by Andrew G. Morgan, <morgan@kernel.org>. diff --git a/modules/pam_permit/pam_permit.8.xml b/modules/pam_permit/pam_permit.8.xml new file mode 100644 index 00000000..3992f43f --- /dev/null +++ b/modules/pam_permit/pam_permit.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_permit"> + + <refmeta> + <refentrytitle>pam_permit</refentrytitle> + <manvolnum>8</manvolnum> + <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + </refmeta> + + <refnamediv id="pam_permit-name"> + <refname>pam_permit</refname> + <refpurpose>The promiscuous module</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis id="pam_permit-cmdsynopsis"> + <command>pam_permit.so</command> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1 id="pam_permit-description"> + + <title>DESCRIPTION</title> + + <para> + pam_permit is a PAM module that always permit access. It does + nothing else. + </para> + <para> + In the case of authentication, the user's name will be set to + <emphasis>nobody</emphasis> if the application didn't set one. + Many applications and PAM modules become confused if this name + is unknown. + </para> + <para> + This module is very dangerous. It should be used with extreme + caution. + </para> + </refsect1> + + <refsect1 id="pam_permit-options"> + + <title>OPTIONS</title> + <para> This module does not recognice any options.</para> + </refsect1> + + <refsect1 id="pam_permit-services"> + <title>MODULE SERVICES PROVIDED</title> + <para> + The services <option>auth</option>, <option>account</option>, + <option>password</option> and <option>session</option> are supported. + </para> + </refsect1> + + <refsect1 id='pam_permit-return_values'> + <title>RETURN VALUES</title> + <variablelist> + <varlistentry> + <term>PAM_SUCCESS</term> + <listitem> + <para> + This module always returns this value. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id='pam_permit-examples'> + <title>EXAMPLES</title> + <para> + Add this line to your other login entries to disable account + management, but continue to permit users to log in. + <programlisting> +account required pam_permit.so + </programlisting> + </para> + </refsect1> + + <refsect1 id='pam_permit-see_also'> + <title>SEE ALSO</title> + <para> + <citerefentry> + <refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum> + </citerefentry>, + <citerefentry> + <refentrytitle>pam.d</refentrytitle><manvolnum>8</manvolnum> + </citerefentry>, + <citerefentry> + <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum> + </citerefentry> + </para> + </refsect1> + + <refsect1 id='pam_permit-author'> + <title>AUTHOR</title> + <para> + pam_permit was written by Andrew G. Morgan, <morgan@kernel.org>. + </para> + </refsect1> + +</refentry> |