diff options
author | Stefan Schubert <schubi@suse.de> | 2022-10-25 16:29:41 +0200 |
---|---|---|
committer | Thorsten Kukuk <5908016+thkukuk@users.noreply.github.com> | 2022-12-16 10:31:37 +0100 |
commit | cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996 (patch) | |
tree | 28c25df584fc32ba8f02af48c249c987be91e9ac /modules/pam_umask | |
parent | 6135c45347b6173e305fda66eef138bde693b795 (diff) | |
download | pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.gz pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.bz2 pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.zip |
doc: Update PAM documentation from DockBook 4 to DocBook 5
Changed files
--------------
Make.xml.rules.in:
- Using RNG file instead of DTD file for checking XML files.
- Taking the correct stylesheet for README files.
doc/sag/Makefile.am, doc/adg/Makefile.am, doc/mwg/Makefile.am:
- Using RNG file instead of DTD file for checking XML files.
configure.ac:
- Adding a new option for selecting RNG check file (-enable-docbook-rng)
- Switching stylesheets to docbook 5
- Checking DocBook 5 environment instead of DocBook 4 environment
*.xml:
Update from DockBook 4 to DocBook 5
Diffstat (limited to 'modules/pam_umask')
-rw-r--r-- | modules/pam_umask/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_umask/pam_umask.8.xml | 51 |
2 files changed, 33 insertions, 50 deletions
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.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 |