diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-03-30 08:11:58 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-04-02 11:54:35 +0300 |
commit | 8a97e7a877bd1e64636786fb4e749811e7963d6d (patch) | |
tree | 4f53164dd43c62530ba1869f56ad33b0fb4db28a | |
parent | 55b38f5e11e9f11fe6ea9692722d4b86b9ae0be9 (diff) | |
download | pam-modules-8a97e7a877bd1e64636786fb4e749811e7963d6d.tar.gz pam-modules-8a97e7a877bd1e64636786fb4e749811e7963d6d.tar.bz2 |
Add manpages; remove invariant sections from pam-modules.texi
-rw-r--r-- | doc/.gitignore | 4 | ||||
-rw-r--r-- | doc/Makefile.am | 44 | ||||
-rw-r--r-- | doc/pam-modules.texi | 16 | ||||
-rw-r--r-- | doc/pam_fshadow.8in | 223 | ||||
-rw-r--r-- | doc/pam_log.8 | 130 | ||||
-rw-r--r-- | doc/pam_mysql.8in | 374 | ||||
-rw-r--r-- | doc/pam_pgsql.8in | 365 | ||||
-rw-r--r-- | doc/pam_regex.8 | 181 | ||||
-rw-r--r-- | doc/pam_umotd.8 | 180 | ||||
-rw-r--r-- | doc/pamck.1 | 137 |
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 @@ | |||
1 | Makefile | 1 | Makefile |
2 | Makefile.in | 2 | Makefile.in |
3 | config.so | ||
4 | pam_fshadow.8 | ||
5 | pam_mysql.8 | ||
6 | pam_pgsql.8 | ||
3 | pam-modules.info* | 7 | pam-modules.info* |
4 | stamp-vti | 8 | stamp-vti |
5 | version.texi | 9 | version.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 | ||
17 | info_TEXINFOS=pam-modules.texi | 17 | info_TEXINFOS=pam-modules.texi |
18 | pam_modules_TEXINFOS=fdl.texi macros.texi | 18 | pam_modules_TEXINFOS=fdl.texi macros.texi |
19 | dist_man_MANS = pamck.1 | ||
20 | |||
21 | if PAM_COND_FSHADOW | ||
22 | dist_man_MANS += pam_fshadow.8 | ||
23 | endif | ||
24 | if PAM_COND_REGEX | ||
25 | dist_man_MANS += pam_regex.8 | ||
26 | endif | ||
27 | if PAM_COND_LOG | ||
28 | dist_man_MANS += pam_log.8 | ||
29 | endif | ||
30 | #if PAM_COND_LDAPHOME | ||
31 | # dist_man_MANS += pam_ldaphome.8 | ||
32 | #endif | ||
33 | if PAM_COND_UMOTD | ||
34 | dist_man_MANS += pam_umotd.8 | ||
35 | endif | ||
36 | if PAM_COND_MYSQL | ||
37 | dist_man_MANS += pam_mysql.8 | ||
38 | endif | ||
39 | if PAM_COND_PGSQL | ||
40 | dist_man_MANS += pam_pgsql.8 | ||
41 | endif | ||
42 | |||
43 | config.so: $(top_srcdir)/configure.ac $(top_srcdir)/doc/Makefile.am | ||
44 | $(AM_V_GEN){\ | ||
45 | echo ".ds ET $(sysconfdir)"; \ | ||
46 | } > config.so | ||
47 | |||
48 | BUILD_MANS=pam_fshadow.8 pam_mysql.8 pam_pgsql.8 | ||
49 | CLEANFILES=$(BUILD_MANS) config.so | ||
50 | |||
51 | pam_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 | ||
20 | EXTRA_DIST = \ | 60 | EXTRA_DIST = \ |
21 | gendocs_template | 61 | gendocs_template\ |
62 | pam_fshadow.8in\ | ||
63 | pam_mysql.8in | ||
22 | 64 | ||
23 | clean-local: | 65 | clean-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 | |||
46 | Copyright @copyright{} 2005, 2007-2012, 2014 Sergey Poznyakoff | 46 | Copyright @copyright{} 2005, 2007-2012, 2014 Sergey Poznyakoff |
47 | 47 | ||
48 | Permission is granted to copy, distribute and/or modify this document | 48 | Permission is granted to copy, distribute and/or modify this document |
49 | under the terms of the GNU Free Documentation License, Version 1.2 or | 49 | under the terms of the GNU Free Documentation License, Version 1.3 or |
50 | any later version published by the Free Software Foundation; with no | 50 | any later version published by the Free Software Foundation; with no |
51 | Invariant Sections, with the Front-Cover texts being ``PAM-modules Manual'', | 51 | Invariant Sections, and no special Front- or Back- Cover texts/ |
52 | and with the Back-Cover Texts as in (a) below. A copy of the license | ||
53 | is 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 | ||
56 | this GNU Manual, like GNU software. Copies published by the Free | ||
57 | Software 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 | |||
219 | user. In some applications, @code{PAM_RHOST} may be @samp{NULL}. | 213 | user. 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 |
223 | requesting user or a remote requesting user. In some cases, | 217 | requesting 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: | |||
496 | options, nopasswd}. | 490 | options, 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 |
501 | options, noshadow}. | 495 | options, noshadow}. |
502 | 496 | ||
@@ -939,7 +933,7 @@ algorithm name in curly braces. This variable is @code{true} by | |||
939 | default. | 933 | default. |
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} |
943 | The returned password may be encrypted using MySQL @code{md5} | 937 | The returned password may be encrypted using MySQL @code{md5} |
944 | function. This keyword is specific for @command{pam_mysql}. | 938 | function. 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 | ||
19 | pam_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 | ||
38 | Authenticates 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 | ||
41 | one \fBpasswd\fR,\fBshadow\fR pair, and \fBvirtual domain\fR mode, | ||
42 | which selects the pair to use based depending on the authentication | ||
43 | token (the user name). | ||
44 | .PP | ||
45 | In plain mode, \fBpam_fshadow\fR checks the supplied user name and | ||
46 | authentication token against the \fBpasswd\fR and \fBshadow\fR files | ||
47 | located in the system configuration directory. The latter is set when | ||
48 | configuring the package and defaults to \fB\*(ET\fR. Its | ||
49 | location can be changed using the \fBsysconfdir\fR command line | ||
50 | parameter. | ||
51 | .PP | ||
52 | The command line options \fBnopasswd\fR and \fBnoshadow\fR are | ||
53 | provided to disable reading of either file. E.g. if \fBnoshadow\fR is | ||
54 | given, the module will expect all authentication information to be | ||
55 | stored in the \fBpasswd\fR file. | ||
56 | .PP | ||
57 | The \fBvirtual domain\fR mode select the \fBpasswd\fR,\fBshadow\fR | ||
58 | pair to use depending on the user name. To that effect, the user name | ||
59 | is first split into the \fBlocal\fR and \fBauthentication domain\fR | ||
60 | parts using a regular expression supplied with the \fBregex\fR option. | ||
61 | The configuration directory name is then constructed by concatenating the | ||
62 | system configuration directory, a directory separator character (\fB/\fR), | ||
63 | and the name of the authentication domain. The authentication then | ||
64 | proceeds as described above for the plain mode. If the supplied user name | ||
65 | does not match the regular expression, \fBpam_fshadow\fR falls back to | ||
66 | the plain mode. | ||
67 | .SH OPTIONS | ||
68 | .TP | ||
69 | \fBbasic\fR | ||
70 | The argument to the \fBregex\fR option is a basic regular expression. | ||
71 | .TP | ||
72 | \fBextended\fR | ||
73 | The argument to the \fBregex\fR option is a POSIX extended regular | ||
74 | expression. This is the default. | ||
75 | .TP | ||
76 | \fBignore\-case\fR, \fBicase\fR | ||
77 | Use case-insensitive regex matching. | ||
78 | .TP | ||
79 | Use case-sensitive regex matching (default). | ||
80 | .TP | ||
81 | \fBnopasswd\fR | ||
82 | Use only \fBshadow\fR file for authentication. | ||
83 | .TP | ||
84 | \fBnoshadow\fR | ||
85 | Use only \fBpasswd\fR file for authentication. | ||
86 | .TP | ||
87 | \fBregex=\fIEXPR\fR | ||
88 | Defines a regular expression for splitting user name into the proper | ||
89 | name and authentication domain. The expression must contain two | ||