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_lastlog | |
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_lastlog')
-rw-r--r-- | modules/pam_lastlog/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_lastlog/pam_lastlog.8.xml | 77 |
2 files changed, 46 insertions, 63 deletions
diff --git a/modules/pam_lastlog/README.xml b/modules/pam_lastlog/README.xml index 7fe70339..6b312435 100644 --- a/modules/pam_lastlog/README.xml +++ b/modules/pam_lastlog/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_lastlog.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_lastlog.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_lastlog-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_lastlog.8.xml" xpointer='xpointer(id("pam_lastlog-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_lastlog.8.xml" xpointer='xpointer(//refsect1[@id = "pam_lastlog-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_lastlog.8.xml" xpointer='xpointer(id("pam_lastlog-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_lastlog.8.xml" xpointer='xpointer(//refsect1[@id = "pam_lastlog-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_lastlog.8.xml" xpointer='xpointer(id("pam_lastlog-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_lastlog.8.xml" xpointer='xpointer(//refsect1[@id = "pam_lastlog-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_lastlog.8.xml" xpointer='xpointer(id("pam_lastlog-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_lastlog.8.xml" xpointer='xpointer(//refsect1[@id = "pam_lastlog-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_lastlog.8.xml" xpointer='xpointer(id("pam_lastlog-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_lastlog/pam_lastlog.8.xml b/modules/pam_lastlog/pam_lastlog.8.xml index bada2ea0..1fd9d9dd 100644 --- a/modules/pam_lastlog/pam_lastlog.8.xml +++ b/modules/pam_lastlog/pam_lastlog.8.xml @@ -1,60 +1,57 @@ -<?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_lastlog"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_lastlog"> <refmeta> <refentrytitle>pam_lastlog</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_lastlog-name"> + <refnamediv xml:id="pam_lastlog-name"> <refname>pam_lastlog</refname> <refpurpose>PAM module to display date of last login and perform inactive account lock out</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_lastlog-cmdsynopsis"> + <cmdsynopsis xml:id="pam_lastlog-cmdsynopsis" sepchar=" "> <command>pam_lastlog.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"> never </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> nodate </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> nohost </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> noterm </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> nowtmp </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> noupdate </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> showfailed </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> inactive=<days> </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> unlimited </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_lastlog-description"> + <refsect1 xml:id="pam_lastlog-description"> <title>DESCRIPTION</title> @@ -83,13 +80,13 @@ </para> </refsect1> - <refsect1 id="pam_lastlog-options"> + <refsect1 xml:id="pam_lastlog-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -99,7 +96,7 @@ </varlistentry> <varlistentry> <term> - <option>silent</option> + silent </term> <listitem> <para> @@ -111,7 +108,7 @@ </varlistentry> <varlistentry> <term> - <option>never</option> + never </term> <listitem> <para> @@ -124,7 +121,7 @@ </varlistentry> <varlistentry> <term> - <option>nodate</option> + nodate </term> <listitem> <para> @@ -134,7 +131,7 @@ </varlistentry> <varlistentry> <term> - <option>noterm</option> + noterm </term> <listitem> <para> @@ -145,7 +142,7 @@ </varlistentry> <varlistentry> <term> - <option>nohost</option> + nohost </term> <listitem> <para> @@ -156,7 +153,7 @@ </varlistentry> <varlistentry> <term> - <option>nowtmp</option> + nowtmp </term> <listitem> <para> @@ -166,7 +163,7 @@ </varlistentry> <varlistentry> <term> - <option>noupdate</option> + noupdate </term> <listitem> <para> @@ -176,7 +173,7 @@ </varlistentry> <varlistentry> <term> - <option>showfailed</option> + showfailed </term> <listitem> <para> @@ -188,7 +185,7 @@ </varlistentry> <varlistentry> <term> - <option>inactive=<days></option> + inactive=<days> </term> <listitem> <para> @@ -201,7 +198,7 @@ </varlistentry> <varlistentry> <term> - <option>unlimited</option> + unlimited </term> <listitem> <para> @@ -214,7 +211,7 @@ </variablelist> </refsect1> - <refsect1 id="pam_lastlog-types"> + <refsect1 xml:id="pam_lastlog-types"> <title>MODULE TYPES PROVIDED</title> <para> The <option>auth</option> and <option>account</option> module type @@ -225,7 +222,7 @@ </para> </refsect1> - <refsect1 id='pam_lastlog-return_values'> + <refsect1 xml:id="pam_lastlog-return_values"> <title>RETURN VALUES</title> <para> <variablelist> @@ -282,7 +279,7 @@ </para> </refsect1> - <refsect1 id='pam_lastlog-examples'> + <refsect1 xml:id="pam_lastlog-examples"> <title>EXAMPLES</title> <para> Add the following line to <filename>/etc/pam.d/login</filename> to @@ -300,11 +297,11 @@ </programlisting> </refsect1> - <refsect1 id="pam_lastlog-files"> + <refsect1 xml:id="pam_lastlog-files"> <title>FILES</title> <variablelist> <varlistentry> - <term><filename>/var/log/lastlog</filename></term> + <term>/var/log/lastlog</term> <listitem> <para>Lastlog logging file</para> </listitem> @@ -312,7 +309,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_lastlog-see_also'> + <refsect1 xml:id="pam_lastlog-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -330,7 +327,7 @@ </para> </refsect1> - <refsect1 id='pam_lastlog-author'> + <refsect1 xml:id="pam_lastlog-author"> <title>AUTHOR</title> <para> pam_lastlog was written by Andrew G. Morgan <morgan@kernel.org>. @@ -340,4 +337,4 @@ </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |