aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-03-30 08:11:58 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2014-04-02 11:54:35 +0300
commit8a97e7a877bd1e64636786fb4e749811e7963d6d (patch)
tree4f53164dd43c62530ba1869f56ad33b0fb4db28a
parent55b38f5e11e9f11fe6ea9692722d4b86b9ae0be9 (diff)
downloadpam-modules-8a97e7a877bd1e64636786fb4e749811e7963d6d.tar.gz
pam-modules-8a97e7a877bd1e64636786fb4e749811e7963d6d.tar.bz2
Add manpages; remove invariant sections from pam-modules.texi
-rw-r--r--doc/.gitignore4
-rw-r--r--doc/Makefile.am44
-rw-r--r--doc/pam-modules.texi16
-rw-r--r--doc/pam_fshadow.8in223
-rw-r--r--doc/pam_log.8130
-rw-r--r--doc/pam_mysql.8in374
-rw-r--r--doc/pam_pgsql.8in365
-rw-r--r--doc/pam_regex.8181
-rw-r--r--doc/pam_umotd.8180
-rw-r--r--doc/pamck.1137
10 files changed, 1642 insertions, 12 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 3cc99a1..8ae6011 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -1,5 +1,9 @@
1Makefile 1Makefile
2Makefile.in 2Makefile.in
3config.so
4pam_fshadow.8
5pam_mysql.8
6pam_pgsql.8
3pam-modules.info* 7pam-modules.info*
4stamp-vti 8stamp-vti
5version.texi 9version.texi
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 99ac7d5..76df136 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,9 +16,51 @@
16 16
17info_TEXINFOS=pam-modules.texi 17info_TEXINFOS=pam-modules.texi
18pam_modules_TEXINFOS=fdl.texi macros.texi 18pam_modules_TEXINFOS=fdl.texi macros.texi
19dist_man_MANS = pamck.1
20
21if PAM_COND_FSHADOW
22 dist_man_MANS += pam_fshadow.8
23endif
24if PAM_COND_REGEX
25 dist_man_MANS += pam_regex.8
26endif
27if PAM_COND_LOG
28 dist_man_MANS += pam_log.8
29endif
30#if PAM_COND_LDAPHOME
31# dist_man_MANS += pam_ldaphome.8
32#endif
33if PAM_COND_UMOTD
34 dist_man_MANS += pam_umotd.8
35endif
36if PAM_COND_MYSQL
37 dist_man_MANS += pam_mysql.8
38endif
39if PAM_COND_PGSQL
40 dist_man_MANS += pam_pgsql.8
41endif
42
43config.so: $(top_srcdir)/configure.ac $(top_srcdir)/doc/Makefile.am
44 $(AM_V_GEN){\
45 echo ".ds ET $(sysconfdir)"; \
46 } > config.so
47
48BUILD_MANS=pam_fshadow.8 pam_mysql.8 pam_pgsql.8
49CLEANFILES=$(BUILD_MANS) config.so
50
51pam_fshadow.8 pam_mysql.8 pam_pgsql.8: config.so
52
53.8in.8:
54 $(AM_V_GEN){\
55 echo '.\" -*- buffer-read-only: t -*- vi: set ro:';\
56 echo '.\" THIS FILE IS GENERATED AUTOMATICALLY; DO NOT EDIT!';\
57 soelim -I$(top_builddir)/doc $<;\
58 } > $@
19 59
20EXTRA_DIST = \ 60EXTRA_DIST = \
21 gendocs_template 61 gendocs_template\
62 pam_fshadow.8in\
63 pam_mysql.8in
22 64
23clean-local: 65clean-local:
24 rm -rf manual 66 rm -rf manual
diff --git a/doc/pam-modules.texi b/doc/pam-modules.texi
index 7c2d881..35d31cb 100644
--- a/doc/pam-modules.texi
+++ b/doc/pam-modules.texi
@@ -46,15 +46,9 @@ Boston, MA 02110-1301, USA
46Copyright @copyright{} 2005, 2007-2012, 2014 Sergey Poznyakoff 46Copyright @copyright{} 2005, 2007-2012, 2014 Sergey Poznyakoff
47 47
48Permission is granted to copy, distribute and/or modify this document 48Permission is granted to copy, distribute and/or modify this document
49under the terms of the GNU Free Documentation License, Version 1.2 or 49under the terms of the GNU Free Documentation License, Version 1.3 or
50any later version published by the Free Software Foundation; with no 50any later version published by the Free Software Foundation; with no
51Invariant Sections, with the Front-Cover texts being ``PAM-modules Manual'', 51Invariant Sections, and no special Front- or Back- Cover texts/
52and with the Back-Cover Texts as in (a) below. A copy of the license
53is included in the section entitled ``GNU Free Documentation License''.
54
55(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
56this GNU Manual, like GNU software. Copies published by the Free
57Software Foundation raise funds for GNU development.''
58@end copying 52@end copying
59 53
60@titlepage 54@titlepage
@@ -219,7 +213,7 @@ from which the @code{PAM_RUSER} entity is requesting service). That is
219user. In some applications, @code{PAM_RHOST} may be @samp{NULL}. 213user. In some applications, @code{PAM_RHOST} may be @samp{NULL}.
220 214
221@item ruser 215@item ruser
222@code{PAM_RUSER}. The requesting entity: user's sername for a locally 216@code{PAM_RUSER}. The requesting entity: user's name for a locally
223requesting user or a remote requesting user. In some cases, 217requesting user or a remote requesting user. In some cases,
224@code{PAM_RUSER} may be @samp{NULL}. 218@code{PAM_RUSER} may be @samp{NULL}.
225 219
@@ -496,7 +490,7 @@ This section summarizes all @command{pam_fshadow} command line options:
496options, nopasswd}. 490options, nopasswd}.
497 491
498@opsummary{noshadow} 492@opsummary{noshadow}
499@item nopasswd 493@item noshadow
500 Use only @file{passwd} for authentication. @xref{pam_fshadow common 494 Use only @file{passwd} for authentication. @xref{pam_fshadow common
501options, noshadow}. 495options, noshadow}.
502 496
@@ -939,7 +933,7 @@ algorithm name in curly braces. This variable is @code{true} by
939default. 933default.
940 934
941@kwindex allow-md5-pass, @command{pam_mysql} configuration keyword 935@kwindex allow-md5-pass, @command{pam_mysql} configuration keyword
942@item allow-md5l-pass @var{bool} 936@item allow-md5-pass @var{bool}
943The returned password may be encrypted using MySQL @code{md5} 937The returned password may be encrypted using MySQL @code{md5}
944function. This keyword is specific for @command{pam_mysql}. 938function. This keyword is specific for @command{pam_mysql}.
945 939
diff --git a/doc/pam_fshadow.8in b/doc/pam_fshadow.8in
new file mode 100644
index 0000000..eb990d1
--- /dev/null
+++ b/doc/pam_fshadow.8in
@@ -0,0 +1,223 @@
1.\" This file is part of PAM-Modules -*- nroff -*-
2.\" Copyright (C) 2001-2014 Sergey Poznyakoff
3.\"
4.\" PAM-Modules is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3, or (at your option)
7.\" any later version.
8.\"
9.\" PAM-Modules is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with PAM-Modules. If not, see <http://www.gnu.org/licenses/>.
16.so config.so
17.TH PAM_FSHADOW 8 "March 30, 2014" "PAM-MODULES" "Pam-Modules User Reference"
18.SH NAME
19pam_fshadow \- use alternative passwd and/or shadow files
20.SH SYNOPSIS
21.nh
22.na
23\fBpam_fshadow\fR\
24 [\fBbasic\fR|\fBextended\fR]\
25 [\fBignore\-case\fR|\fBicase\fR|\fBcase\fR]\
26 [\fBnopasswd\fR]\
27 [\fBnoshadow\fR]\
28 [\fBregex=\fIEXPR\fR]\
29 [\fBrevert\-index\fR]\
30 [\fBsysconfdir=\fIDIR\fR]\
31 [\fBuse_authtok\fR]\
32 [\fBdebug\fR[\fB=\fINUMBER\fR]]\
33 [\fBwaitdebug\fR]\
34 [\fBaudit\fR]
35.ad
36.hy
37.SH DESCRIPTION
38Authenticates the user against alternative \fBpasswd\fR and
39\fBshadow\fR files. There are two operation modes:
40\fBplain\fR mode, in which the module uses only
41one \fBpasswd\fR,\fBshadow\fR pair, and \fBvirtual domain\fR mode,
42which selects the pair to use based depending on the authentication
43token (the user name).
44.PP
45In plain mode, \fBpam_fshadow\fR checks the supplied user name and
46authentication token against the \fBpasswd\fR and \fBshadow\fR files
47located in the system configuration directory. The latter is set when
48configuring the package and defaults to \fB\*(ET\fR. Its
49location can be changed using the \fBsysconfdir\fR command line
50parameter.
51.PP
52The command line options \fBnopasswd\fR and \fBnoshadow\fR are
53provided to disable reading of either file. E.g. if \fBnoshadow\fR is
54given, the module will expect all authentication information to be
55stored in the \fBpasswd\fR file.
56.PP
57The \fBvirtual domain\fR mode select the \fBpasswd\fR,\fBshadow\fR
58pair to use depending on the user name. To that effect, the user name
59is first split into the \fBlocal\fR and \fBauthentication domain\fR
60parts using a regular expression supplied with the \fBregex\fR option.
61The configuration directory name is then constructed by concatenating the
62system configuration directory, a directory separator character (\fB/\fR),
63and the name of the authentication domain. The authentication then
64proceeds as described above for the plain mode. If the supplied user name
65does not match the regular expression, \fBpam_fshadow\fR falls back to
66the plain mode.
67.SH OPTIONS
68.TP
69\fBbasic\fR
70The argument to the \fBregex\fR option is a basic regular expression.
71.TP
72\fBextended\fR
73The argument to the \fBregex\fR option is a POSIX extended regular
74expression. This is the default.
75.TP
76\fBignore\-case\fR, \fBicase\fR
77Use case-insensitive regex matching.
78.TP
79Use case-sensitive regex matching (default).
80.TP
81\fBnopasswd\fR
82Use only \fBshadow\fR file for authentication.
83.TP
84\fBnoshadow\fR
85Use only \fBpasswd\fR file for authentication.
86.TP
87\fBregex=\fIEXPR\fR
88Defines a regular expression for splitting user name into the proper
89name and authentication domain. The expression must contain two