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_rootok | |
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_rootok')
-rw-r--r-- | modules/pam_rootok/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_rootok/pam_rootok.8.xml | 35 |
2 files changed, 25 insertions, 42 deletions
diff --git a/modules/pam_rootok/README.xml b/modules/pam_rootok/README.xml index 6fb58cd0..58f77967 100644 --- a/modules/pam_rootok/README.xml +++ b/modules/pam_rootok/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_rootok.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_rootok.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_rootok-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rootok.8.xml" xpointer='xpointer(id("pam_rootok-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rootok.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rootok-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rootok.8.xml" xpointer='xpointer(id("pam_rootok-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rootok.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rootok-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rootok.8.xml" xpointer='xpointer(id("pam_rootok-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rootok.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rootok-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rootok.8.xml" xpointer='xpointer(id("pam_rootok-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_rootok.8.xml" xpointer='xpointer(//refsect1[@id = "pam_rootok-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_rootok.8.xml" xpointer='xpointer(id("pam_rootok-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_rootok/pam_rootok.8.xml b/modules/pam_rootok/pam_rootok.8.xml index 06457bf5..a79c073a 100644 --- a/modules/pam_rootok/pam_rootok.8.xml +++ b/modules/pam_rootok/pam_rootok.8.xml @@ -1,30 +1,27 @@ -<?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_rootok"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_rootok"> <refmeta> <refentrytitle>pam_rootok</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_rootok-name"> + <refnamediv xml:id="pam_rootok-name"> <refname>pam_rootok</refname> <refpurpose>Gain only root access</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_rootok-cmdsynopsis"> + <cmdsynopsis xml:id="pam_rootok-cmdsynopsis" sepchar=" "> <command>pam_rootok.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_rootok-description"> + <refsect1 xml:id="pam_rootok-description"> <title>DESCRIPTION</title> @@ -38,12 +35,12 @@ </para> </refsect1> - <refsect1 id="pam_rootok-options"> + <refsect1 xml:id="pam_rootok-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -54,7 +51,7 @@ </variablelist> </refsect1> - <refsect1 id="pam_rootok-types"> + <refsect1 xml:id="pam_rootok-types"> <title>MODULE TYPES PROVIDED</title> <para> The <option>auth</option>, <option>account</option> and @@ -62,7 +59,7 @@ </para> </refsect1> - <refsect1 id='pam_rootok-return_values'> + <refsect1 xml:id="pam_rootok-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -77,7 +74,7 @@ <term>PAM_AUTH_ERR</term> <listitem> <para> - The <emphasis>UID</emphasis> is <emphasis remap='B'>not</emphasis> + The <emphasis>UID</emphasis> is <emphasis remap="B">not</emphasis> <emphasis>0</emphasis>. </para> </listitem> @@ -85,7 +82,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_rootok-examples'> + <refsect1 xml:id="pam_rootok-examples"> <title>EXAMPLES</title> <para> In the case of the <citerefentry> @@ -103,7 +100,7 @@ auth required pam_unix.so </para> </refsect1> - <refsect1 id='pam_rootok-see_also'> + <refsect1 xml:id="pam_rootok-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -121,11 +118,11 @@ auth required pam_unix.so </para> </refsect1> - <refsect1 id='pam_rootok-author'> + <refsect1 xml:id="pam_rootok-author"> <title>AUTHOR</title> <para> pam_rootok was written by Andrew G. Morgan, <morgan@kernel.org>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |