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_timestamp | |
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_timestamp')
-rw-r--r-- | modules/pam_timestamp/README.xml | 35 | ||||
-rw-r--r-- | modules/pam_timestamp/pam_timestamp.8.xml | 53 | ||||
-rw-r--r-- | modules/pam_timestamp/pam_timestamp_check.8.xml | 45 |
3 files changed, 56 insertions, 77 deletions
diff --git a/modules/pam_timestamp/README.xml b/modules/pam_timestamp/README.xml index 5b72deb1..fe01080b 100644 --- a/modules/pam_timestamp/README.xml +++ b/modules/pam_timestamp/README.xml @@ -1,46 +1,31 @@ -<?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_timestamp.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_timestamp.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_timestamp-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_timestamp.8.xml" xpointer='xpointer(//refsect1[@id = "pam_timestamp-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_timestamp.8.xml" xpointer='xpointer(//refsect1[@id = "pam_timestamp-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_timestamp.8.xml" xpointer='xpointer(//refsect1[@id = "pam_timestamp-notes"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-notes")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_timestamp.8.xml" xpointer='xpointer(//refsect1[@id = "pam_timestamp-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_timestamp.8.xml" xpointer='xpointer(//refsect1[@id = "pam_timestamp-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_timestamp.8.xml" xpointer='xpointer(id("pam_timestamp-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_timestamp/pam_timestamp.8.xml b/modules/pam_timestamp/pam_timestamp.8.xml index 83e5aea8..a763ad86 100644 --- a/modules/pam_timestamp/pam_timestamp.8.xml +++ b/modules/pam_timestamp/pam_timestamp.8.xml @@ -1,39 +1,36 @@ -<?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_timestamp"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_timestamp"> <refmeta> <refentrytitle>pam_timestamp</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_timestamp-name"> + <refnamediv xml:id="pam_timestamp-name"> <refname>pam_timestamp</refname> <refpurpose>Authenticate using cached successful authentication attempts</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_timestamp-cmdsynopsis"> + <cmdsynopsis xml:id="pam_timestamp-cmdsynopsis" sepchar=" "> <command>pam_timestamp.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> timestampdir=<replaceable>directory</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> timestamp_timeout=<replaceable>number</replaceable> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> verbose </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_timestamp-description"> + <refsect1 xml:id="pam_timestamp-description"> <title>DESCRIPTION</title> @@ -52,18 +49,18 @@ file as grounds for succeeding. </para> <para condition="openssl_hmac"> The default encryption hash is taken from the - <emphasis remap='B'>HMAC_CRYPTO_ALGO</emphasis> variable from + <emphasis remap="B">HMAC_CRYPTO_ALGO</emphasis> variable from <emphasis>/etc/login.defs</emphasis>. </para> </refsect1> - <refsect1 id="pam_timestamp-options"> + <refsect1 xml:id="pam_timestamp-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>timestampdir=<replaceable>directory</replaceable></option> + timestampdir=directory </term> <listitem> <para> @@ -74,7 +71,7 @@ file as grounds for succeeding. </varlistentry> <varlistentry> <term> - <option>timestamp_timeout=<replaceable>number</replaceable></option> + timestamp_timeout=number </term> <listitem> <para> @@ -86,7 +83,7 @@ file as grounds for succeeding. </varlistentry> <varlistentry> <term> - <option>verbose</option> + verbose </term> <listitem> <para> @@ -96,7 +93,7 @@ file as grounds for succeeding. </varlistentry> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -109,7 +106,7 @@ file as grounds for succeeding. </variablelist> </refsect1> - <refsect1 id="pam_timestamp-types"> + <refsect1 xml:id="pam_timestamp-types"> <title>MODULE TYPES PROVIDED</title> <para> The <option>auth</option> and <option>session</option> @@ -117,7 +114,7 @@ file as grounds for succeeding. </para> </refsect1> - <refsect1 id='pam_timestamp-return_values'> + <refsect1 xml:id="pam_timestamp-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -148,7 +145,7 @@ file as grounds for succeeding. </variablelist> </refsect1> - <refsect1 id='pam_timestamp-notes'> + <refsect1 xml:id="pam_timestamp-notes"> <title>NOTES</title> <para> Users can get confused when they are not always asked for passwords when @@ -157,7 +154,7 @@ noticing that it is not being asked for. </para> </refsect1> - <refsect1 id='pam_timestamp-examples'> + <refsect1 xml:id="pam_timestamp-examples"> <title>EXAMPLES</title> <programlisting> auth sufficient pam_timestamp.so verbose @@ -168,11 +165,11 @@ session optional pam_timestamp.so </programlisting> </refsect1> - <refsect1 id="pam_timestamp-files"> + <refsect1 xml:id="pam_timestamp-files"> <title>FILES</title> <variablelist> <varlistentry> - <term><filename>/var/run/pam_timestamp/...</filename></term> + <term>/var/run/pam_timestamp/...</term> <listitem> <para>timestamp files and directories</para> </listitem> @@ -180,7 +177,7 @@ session optional pam_timestamp.so </variablelist> </refsect1> - <refsect1 id='pam_timestamp-see_also'> + <refsect1 xml:id="pam_timestamp-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -198,11 +195,11 @@ session optional pam_timestamp.so </para> </refsect1> - <refsect1 id='pam_timestamp-author'> + <refsect1 xml:id="pam_timestamp-author"> <title>AUTHOR</title> <para> pam_timestamp was written by Nalin Dahyabhai. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file diff --git a/modules/pam_timestamp/pam_timestamp_check.8.xml b/modules/pam_timestamp/pam_timestamp_check.8.xml index 3a65d7ef..f0c09560 100644 --- a/modules/pam_timestamp/pam_timestamp_check.8.xml +++ b/modules/pam_timestamp/pam_timestamp_check.8.xml @@ -1,36 +1,33 @@ -<?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_timestamp_check"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_timestamp_check"> <refmeta> <refentrytitle>pam_timestamp_check</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_timestamp_check-name"> + <refnamediv xml:id="pam_timestamp_check-name"> <refname>pam_timestamp_check</refname> <refpurpose>Check to see if the default timestamp is valid</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_timestamp_check-cmdsynopsis"> + <cmdsynopsis xml:id="pam_timestamp_check-cmdsynopsis" sepchar=" "> <command>pam_timestamp_check</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> -k </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> -d </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> <replaceable>target_user</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_timestamp_check-description"> + <refsect1 xml:id="pam_timestamp_check-description"> <title>DESCRIPTION</title> @@ -40,13 +37,13 @@ see if the default timestamp is valid, or optionally remove it. </para> </refsect1> - <refsect1 id="pam_timestamp_check-options"> + <refsect1 xml:id="pam_timestamp_check-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>-k</option> + -k </term> <listitem> <para> @@ -57,7 +54,7 @@ see if the default timestamp is valid, or optionally remove it. </varlistentry> <varlistentry> <term> - <option>-d</option> + -d </term> <listitem> <para> @@ -69,7 +66,7 @@ see if the default timestamp is valid, or optionally remove it. </varlistentry> <varlistentry> <term> - <option><replaceable>target_user</replaceable></option> + target_user </term> <listitem> <para> @@ -85,7 +82,7 @@ see if the default timestamp is valid, or optionally remove it. </variablelist> </refsect1> - <refsect1 id='pam_timestamp_check-return_values'> + <refsect1 xml:id="pam_timestamp_check-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -147,7 +144,7 @@ see if the default timestamp is valid, or optionally remove it. </variablelist> </refsect1> - <refsect1 id='pam_timestamp-notes'> + <refsect1 xml:id="pam_timestamp-notes"> <title>NOTES</title> <para> Users can get confused when they are not always asked for passwords when @@ -156,7 +153,7 @@ noticing that it is not being asked for. </para> </refsect1> - <refsect1 id='pam_timestamp-examples'> + <refsect1 xml:id="pam_timestamp-examples"> <title>EXAMPLES</title> <programlisting> auth sufficient pam_timestamp.so verbose @@ -167,11 +164,11 @@ session optional pam_timestamp.so </programlisting> </refsect1> - <refsect1 id="pam_timestamp-files"> + <refsect1 xml:id="pam_timestamp-files"> <title>FILES</title> <variablelist> <varlistentry> - <term><filename>/var/run/sudo/...</filename></term> + <term>/var/run/sudo/...</term> <listitem> <para>timestamp files and directories</para> </listitem> @@ -179,7 +176,7 @@ session optional pam_timestamp.so </variablelist> </refsect1> - <refsect1 id='pam_timestamp-see_also'> + <refsect1 xml:id="pam_timestamp-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -197,11 +194,11 @@ session optional pam_timestamp.so </para> </refsect1> - <refsect1 id='pam_timestamp-author'> + <refsect1 xml:id="pam_timestamp-author"> <title>AUTHOR</title> <para> pam_timestamp was written by Nalin Dahyabhai. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |