diff options
Diffstat (limited to 'modules/pam_umask')
-rw-r--r-- | modules/pam_umask/Makefile.am | 4 | ||||
-rw-r--r-- | modules/pam_umask/Makefile.in | 15 | ||||
-rw-r--r-- | modules/pam_umask/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_umask/pam_umask.8 | 18 | ||||
-rw-r--r-- | modules/pam_umask/pam_umask.8.xml | 51 |
5 files changed, 59 insertions, 61 deletions
diff --git a/modules/pam_umask/Makefile.am b/modules/pam_umask/Makefile.am index b8c506ef..1482a432 100644 --- a/modules/pam_umask/Makefile.am +++ b/modules/pam_umask/Makefile.am @@ -15,7 +15,11 @@ dist_check_SCRIPTS = tst-pam_umask TESTS = $(dist_check_SCRIPTS) securelibdir = $(SECUREDIR) +if HAVE_VENDORDIR +secureconfdir = $(VENDOR_SCONFIGDIR) +else secureconfdir = $(SCONFIGDIR) +endif AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ $(WARN_CFLAGS) diff --git a/modules/pam_umask/Makefile.in b/modules/pam_umask/Makefile.in index b4d72c99..08ad8c69 100644 --- a/modules/pam_umask/Makefile.in +++ b/modules/pam_umask/Makefile.in @@ -428,6 +428,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ +DOCBOOK_RNG = @DOCBOOK_RNG@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ @@ -440,11 +441,13 @@ EXEEXT = @EXEEXT@ EXE_CFLAGS = @EXE_CFLAGS@ EXE_LDFLAGS = @EXE_LDFLAGS@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FO2PDF = @FO2PDF@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HTML_STYLESHEET = @HTML_STYLESHEET@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -476,12 +479,14 @@ LIBSELINUX = @LIBSELINUX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ +LOGIND_CFLAGS = @LOGIND_CFLAGS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ +MAN_STYLESHEET = @MAN_STYLESHEET@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ @@ -504,6 +509,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +PDF_STYLESHEET = @PDF_STYLESHEET@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ @@ -514,12 +520,16 @@ SECUREDIR = @SECUREDIR@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -STRINGPARAM_HMAC = @STRINGPARAM_HMAC@ +STRINGPARAM_PROFILECONDITIONS = @STRINGPARAM_PROFILECONDITIONS@ STRINGPARAM_VENDORDIR = @STRINGPARAM_VENDORDIR@ STRIP = @STRIP@ +SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ +SYSTEMD_LIBS = @SYSTEMD_LIBS@ TIRPC_CFLAGS = @TIRPC_CFLAGS@ TIRPC_LIBS = @TIRPC_LIBS@ +TXT_STYLESHEET = @TXT_STYLESHEET@ USE_NLS = @USE_NLS@ +VENDOR_SCONFIGDIR = @VENDOR_SCONFIGDIR@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ @@ -593,7 +603,8 @@ XMLS = README.xml pam_umask.8.xml dist_check_SCRIPTS = tst-pam_umask TESTS = $(dist_check_SCRIPTS) securelibdir = $(SECUREDIR) -secureconfdir = $(SCONFIGDIR) +@HAVE_VENDORDIR_FALSE@secureconfdir = $(SCONFIGDIR) +@HAVE_VENDORDIR_TRUE@secureconfdir = $(VENDOR_SCONFIGDIR) AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ $(WARN_CFLAGS) diff --git a/modules/pam_umask/README.xml b/modules/pam_umask/README.xml index 9afbe543..d2b82d10 100644 --- a/modules/pam_umask/README.xml +++ b/modules/pam_umask/README.xml @@ -1,41 +1,27 @@ -<?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_umask.8.xml"> ---> -]> +<article xmlns="http://docbook.org/ns/docbook" version="5.0"> -<article> - - <articleinfo> + <info> <title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_umask.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_umask-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_umask.8.xml" xpointer='xpointer(id("pam_umask-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_umask.8.xml" xpointer='xpointer(//refsect1[@id = "pam_umask-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_umask.8.xml" xpointer='xpointer(id("pam_umask-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_umask.8.xml" xpointer='xpointer(//refsect1[@id = "pam_umask-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_umask.8.xml" xpointer='xpointer(id("pam_umask-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_umask.8.xml" xpointer='xpointer(//refsect1[@id = "pam_umask-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_umask.8.xml" xpointer='xpointer(id("pam_umask-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_umask.8.xml" xpointer='xpointer(//refsect1[@id = "pam_umask-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_umask.8.xml" xpointer='xpointer(id("pam_umask-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_umask/pam_umask.8 b/modules/pam_umask/pam_umask.8 index 73a609fe..741c316e 100644 --- a/modules/pam_umask/pam_umask.8 +++ b/modules/pam_umask/pam_umask.8 @@ -1,13 +1,13 @@ '\" t .\" Title: pam_umask .\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 09/03/2021 +.\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/> +.\" Date: 05/07/2023 .\" Manual: Linux-PAM Manual -.\" Source: Linux-PAM Manual +.\" Source: Linux-PAM .\" Language: English .\" -.TH "PAM_UMASK" "8" "09/03/2021" "Linux-PAM Manual" "Linux\-PAM Manual" +.TH "PAM_UMASK" "8" "05/07/2023" "Linux\-PAM" "Linux\-PAM Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -86,27 +86,27 @@ The GECOS field is split on comma \*(Aq,\*(Aq characters\&. The module also in a .SH "OPTIONS" .PP .PP -\fBdebug\fR +debug .RS 4 Print debug information\&. .RE .PP -\fBsilent\fR +silent .RS 4 Don\*(Aqt print informative messages\&. .RE .PP -\fBusergroups\fR +usergroups .RS 4 If the user is not root and the username is the same as primary group name, the umask group bits are set to be the same as owner bits (examples: 022 \-> 002, 077 \-> 007)\&. .RE .PP -\fBnousergroups\fR +nousergroups .RS 4 This is the direct opposite of the usergroups option described above, which can be useful in case pam_umask has been compiled with usergroups enabled by default and you want to disable it at runtime\&. .RE .PP -\fBumask=\fR\fB\fImask\fR\fR +umask=mask .RS 4 Sets the calling process\*(Aqs file mode creation mask (umask) to \fBmask\fR diff --git a/modules/pam_umask/pam_umask.8.xml b/modules/pam_umask/pam_umask.8.xml index 7c4a310b..05276672 100644 --- a/modules/pam_umask/pam_umask.8.xml +++ b/modules/pam_umask/pam_umask.8.xml @@ -1,42 +1,39 @@ -<?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_umask"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_umask"> <refmeta> <refentrytitle>pam_umask</refentrytitle> <manvolnum>8</manvolnum> - <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + <refmiscinfo class="source">Linux-PAM</refmiscinfo> + <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo> </refmeta> - <refnamediv id="pam_umask-name"> + <refnamediv xml:id="pam_umask-name"> <refname>pam_umask</refname> <refpurpose>PAM module to set the file mode creation mask</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_umask-cmdsynopsis"> + <cmdsynopsis xml:id="pam_umask-cmdsynopsis" sepchar=" "> <command>pam_umask.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> silent </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> usergroups </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> nousergroups </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> umask=<replaceable>mask</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_umask-description"> + <refsect1 xml:id="pam_umask-description"> <title>DESCRIPTION</title> @@ -81,7 +78,7 @@ </refsect1> - <refsect1 id="pam_umask-options"> + <refsect1 xml:id="pam_umask-options"> <title>OPTIONS</title> <para> @@ -89,7 +86,7 @@ <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -100,7 +97,7 @@ <varlistentry> <term> - <option>silent</option> + silent </term> <listitem> <para> @@ -111,20 +108,20 @@ <varlistentry> <term> - <option>usergroups</option> + usergroups </term> <listitem> <para> If the user is not root and the username is the same as primary group name, the umask group bits are set to be the - same as owner bits (examples: 022 -> 002, 077 -> 007). + same as owner bits (examples: 022 -> 002, 077 -> 007). </para> </listitem> </varlistentry> <varlistentry> <term> - <option>nousergroups</option> + nousergroups </term> <listitem> <para> @@ -137,7 +134,7 @@ <varlistentry> <term> - <option>umask=<replaceable>mask</replaceable></option> + umask=mask </term> <listitem> <para> @@ -153,14 +150,14 @@ </para> </refsect1> - <refsect1 id="pam_umask-types"> + <refsect1 xml:id="pam_umask-types"> <title>MODULE TYPES PROVIDED</title> <para> Only the <option>session</option> type is provided. </para> </refsect1> - <refsect1 id='pam_umask-return_values'> + <refsect1 xml:id="pam_umask-return_values"> <title>RETURN VALUES</title> <para> <variablelist> @@ -225,7 +222,7 @@ </para> </refsect1> - <refsect1 id='pam_umask-examples'> + <refsect1 xml:id="pam_umask-examples"> <title>EXAMPLES</title> <para> Add the following line to <filename>/etc/pam.d/login</filename> to @@ -236,7 +233,7 @@ </para> </refsect1> - <refsect1 id='pam_umask-see_also'> + <refsect1 xml:id="pam_umask-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -251,11 +248,11 @@ </para> </refsect1> - <refsect1 id='pam_umask-author'> + <refsect1 xml:id="pam_umask-author"> <title>AUTHOR</title> <para> pam_umask was written by Thorsten Kukuk <kukuk@thkukuk.de>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |