summaryrefslogtreecommitdiff
path: root/modules/pam_stress
diff options
context:
space:
mode:
authorStefan Schubert <schubi@suse.de>2022-10-25 16:29:41 +0200
committerThorsten Kukuk <5908016+thkukuk@users.noreply.github.com>2022-12-16 10:31:37 +0100
commitcf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996 (patch)
tree28c25df584fc32ba8f02af48c249c987be91e9ac /modules/pam_stress
parent6135c45347b6173e305fda66eef138bde693b795 (diff)
downloadlinux-pam-git-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.gz
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_stress')
-rw-r--r--modules/pam_stress/README.xml26
-rw-r--r--modules/pam_stress/pam_stress.8.xml71
2 files changed, 41 insertions, 56 deletions
diff --git a/modules/pam_stress/README.xml b/modules/pam_stress/README.xml
index 6f94685e..cc7a1848 100644
--- a/modules/pam_stress/README.xml
+++ b/modules/pam_stress/README.xml
@@ -1,31 +1,19 @@
-<?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 pamstress SYSTEM "pam_stress.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_stress.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_stress-name"]/*)'/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_stress.8.xml" xpointer='xpointer(id("pam_stress-name")/*)'/>
</title>
- </articleinfo>
+ </info>
<section>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="pam_stress.8.xml" xpointer='xpointer(//refsect1[@id = "pam_stress-description"]/*)'/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_stress.8.xml" xpointer='xpointer(id("pam_stress-description")/*)'/>
</section>
<section>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="pam_stress.8.xml" xpointer='xpointer(//refsect1[@id = "pam_stress-options"]/*)'/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_stress.8.xml" xpointer='xpointer(id("pam_stress-options")/*)'/>
</section>
-</article>
+</article> \ No newline at end of file
diff --git a/modules/pam_stress/pam_stress.8.xml b/modules/pam_stress/pam_stress.8.xml
index 98888b1c..617b7aae 100644
--- a/modules/pam_stress/pam_stress.8.xml
+++ b/modules/pam_stress/pam_stress.8.xml
@@ -1,16 +1,13 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-
-<refentry id='pam_stress'>
+<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_stress">
<refmeta>
<refentrytitle>pam_stress</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class='setdesc'>Linux-PAM Manual</refmiscinfo>
+ <refmiscinfo class="source">Linux-PAM</refmiscinfo>
+ <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo>
</refmeta>
- <refnamediv id='pam_stress-name'>
+ <refnamediv xml:id="pam_stress-name">
<refname>pam_stress</refname>
<refpurpose>The stress-testing PAM module</refpurpose>
</refnamediv>
@@ -18,42 +15,42 @@
<!-- body begins here -->
<refsynopsisdiv>
- <cmdsynopsis id="pam_stress-cmdsynopsis">
+ <cmdsynopsis xml:id="pam_stress-cmdsynopsis" sepchar=" ">
<command>pam_stress.so</command>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
debug
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
no_warn
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
use_first_pass
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
try_first_pass
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
rootok
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
expired
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
fail_1
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
fail_2
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
prelim
</arg>
- <arg choice="opt">
+ <arg choice="opt" rep="norepeat">
required
</arg>
</cmdsynopsis>
</refsynopsisdiv>
- <refsect1 id="pam_stress-description">
+ <refsect1 xml:id="pam_stress-description">
<title>DESCRIPTION</title>
<para>
The pam_stress PAM module is mainly intended to give the impression of failing as a fully
@@ -61,13 +58,13 @@ functioning module might.
</para>
</refsect1>
- <refsect1 id="pam_stress-options">
+ <refsect1 xml:id="pam_stress-options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
- <option>debug</option>
+ debug
</term>
<listitem>
<para>
@@ -79,7 +76,7 @@ functioning module might.
<varlistentry>
<term>
- <option>no_warn</option>
+ no_warn
</term>
<listitem>
<para>
@@ -91,7 +88,7 @@ functioning module might.
<varlistentry>
<term>
- <option>use_first_pass</option>
+ use_first_pass
</term>
<listitem>
<para>
@@ -103,7 +100,7 @@ functioning module might.
<varlistentry>
<term>
- <option>try_first_pass</option>
+ try_first_pass
</term>
<listitem>
<para>
@@ -115,7 +112,7 @@ functioning module might.
<varlistentry>
<term>
- <option>rootok</option>
+ rootok
</term>
<listitem>
<para>
@@ -128,7 +125,7 @@ functioning module might.
<varlistentry>
<term>
- <option>expired</option>
+ expired
</term>
<listitem>
<para>
@@ -141,7 +138,7 @@ functioning module might.
<varlistentry>
<term>
- <option>fail_1</option>
+ fail_1
</term>
<listitem>
<para>
@@ -152,7 +149,7 @@ functioning module might.
<varlistentry>
<term>
- <option>fail_2</option>
+ fail_2
</term>
<listitem>
<para>
@@ -164,7 +161,7 @@ functioning module might.
<varlistentry>
<term>
- <option>prelim</option>
+ prelim
</term>
<listitem>
<para>
@@ -175,7 +172,7 @@ functioning module might.
<varlistentry>
<term>
- <option>required</option>
+ required
</term>
<listitem>
<para>
@@ -189,7 +186,7 @@ functioning module might.
</variablelist>
</refsect1>
- <refsect1 id="pam_stress-types">
+ <refsect1 xml:id="pam_stress-types">
<title>MODULE TYPES PROVIDED</title>
<para>
All module types (<option>auth</option>, <option>account</option>,
@@ -197,7 +194,7 @@ functioning module might.
</para>
</refsect1>
- <refsect1 id="pam_stress-return_values">
+ <refsect1 xml:id="pam_stress-return_values">
<title>RETURN VALUES</title>
<variablelist>
<varlistentry>
@@ -307,7 +304,7 @@ functioning module might.
</variablelist>
</refsect1>
- <refsect1 id='pam_stress-notes'>
+ <refsect1 xml:id="pam_stress-notes">
<title>NOTES</title>
<para>
This module uses the stress_new_pwd data string which tells
@@ -316,7 +313,7 @@ functioning module might.
</para>
</refsect1>
- <refsect1 id='pam_stress-examples'>
+ <refsect1 xml:id="pam_stress-examples">
<title>EXAMPLES</title>
<programlisting>
#%PAM-1.0
@@ -329,7 +326,7 @@ session required pam_stress.so
</programlisting>
</refsect1>
- <refsect1 id="pam_stress-see_also">
+ <refsect1 xml:id="pam_stress-see_also">
<title>SEE ALSO</title>
<para>
<citerefentry>
@@ -344,7 +341,7 @@ session required pam_stress.so
</para>
</refsect1>
- <refsect1 id="pam_stress-authors">
+ <refsect1 xml:id="pam_stress-authors">
<title>AUTHORS</title>
<para>
The pam_stress PAM module was developed by
@@ -353,4 +350,4 @@ session required pam_stress.so
Lucas Ramage &lt;ramage.lucas@protonmail.com&gt;.
</para>
</refsect1>
-</refentry>
+</refentry> \ No newline at end of file