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_sepermit | |
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_sepermit')
-rw-r--r-- | modules/pam_sepermit/README.xml | 32 | ||||
-rw-r--r-- | modules/pam_sepermit/pam_sepermit.8.xml | 41 | ||||
-rw-r--r-- | modules/pam_sepermit/sepermit.conf.5.xml | 29 |
3 files changed, 41 insertions, 61 deletions
diff --git a/modules/pam_sepermit/README.xml b/modules/pam_sepermit/README.xml index bb65951c..a8d31d8c 100644 --- a/modules/pam_sepermit/README.xml +++ b/modules/pam_sepermit/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_sepermit.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_sepermit.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_sepermit-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_sepermit.8.xml" xpointer='xpointer(id("pam_sepermit-name")/*)'/> </title> - </articleinfo> + </info> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_sepermit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_sepermit-description"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_sepermit.8.xml" xpointer='xpointer(id("pam_sepermit-description")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_sepermit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_sepermit-options"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_sepermit.8.xml" xpointer='xpointer(id("pam_sepermit-options")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_sepermit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_sepermit-examples"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_sepermit.8.xml" xpointer='xpointer(id("pam_sepermit-examples")/*)'/> </section> <section> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_sepermit.8.xml" xpointer='xpointer(//refsect1[@id = "pam_sepermit-author"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_sepermit.8.xml" xpointer='xpointer(id("pam_sepermit-author")/*)'/> </section> -</article> +</article>
\ No newline at end of file diff --git a/modules/pam_sepermit/pam_sepermit.8.xml b/modules/pam_sepermit/pam_sepermit.8.xml index 5763c346..791d2bbe 100644 --- a/modules/pam_sepermit/pam_sepermit.8.xml +++ b/modules/pam_sepermit/pam_sepermit.8.xml @@ -1,33 +1,30 @@ -<?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_sepermit"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_sepermit"> <refmeta> <refentrytitle>pam_sepermit</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_sepermit-name"> + <refnamediv xml:id="pam_sepermit-name"> <refname>pam_sepermit</refname> <refpurpose>PAM module to allow/deny login depending on SELinux enforcement state</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_sepermit-cmdsynopsis"> + <cmdsynopsis xml:id="pam_sepermit-cmdsynopsis" sepchar=" "> <command>pam_sepermit.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> debug </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> conf=<replaceable>/path/to/config/file</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_sepermit-description"> + <refsect1 xml:id="pam_sepermit-description"> <title>DESCRIPTION</title> <para> The pam_sepermit module allows or denies login depending on SELinux @@ -61,12 +58,12 @@ </para> </refsect1> - <refsect1 id="pam_sepermit-options"> + <refsect1 xml:id="pam_sepermit-options"> <title>OPTIONS</title> <variablelist> <varlistentry> <term> - <option>debug</option> + debug </term> <listitem> <para> @@ -79,7 +76,7 @@ </varlistentry> <varlistentry> <term> - <option>conf=<replaceable>/path/to/config/file</replaceable></option> + conf=/path/to/config/file </term> <listitem> <para> @@ -90,7 +87,7 @@ </variablelist> </refsect1> - <refsect1 id="pam_sepermit-types"> + <refsect1 xml:id="pam_sepermit-types"> <title>MODULE TYPES PROVIDED</title> <para> The <option>auth</option> and <option>account</option> @@ -98,7 +95,7 @@ </para> </refsect1> - <refsect1 id='pam_sepermit-return_values'> + <refsect1 xml:id="pam_sepermit-return_values"> <title>RETURN VALUES</title> <variablelist> <varlistentry> @@ -145,11 +142,11 @@ </variablelist> </refsect1> - <refsect1 id="pam_sepermit-files"> + <refsect1 xml:id="pam_sepermit-files"> <title>FILES</title> <variablelist> <varlistentry> - <term><filename>/etc/security/sepermit.conf</filename></term> + <term>/etc/security/sepermit.conf</term> <listitem> <para>Default configuration file</para> </listitem> @@ -157,7 +154,7 @@ </variablelist> </refsect1> - <refsect1 id='pam_sepermit-examples'> + <refsect1 xml:id="pam_sepermit-examples"> <title>EXAMPLES</title> <programlisting> auth [success=done ignore=ignore default=bad] pam_sepermit.so @@ -167,7 +164,7 @@ session required pam_permit.so </programlisting> </refsect1> - <refsect1 id='pam_sepermit-see_also'> + <refsect1 xml:id="pam_sepermit-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -188,11 +185,11 @@ session required pam_permit.so </para> </refsect1> - <refsect1 id='pam_sepermit-author'> + <refsect1 xml:id="pam_sepermit-author"> <title>AUTHOR</title> <para> pam_sepermit and this manual page were written by Tomas Mraz <tmraz@redhat.com>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file diff --git a/modules/pam_sepermit/sepermit.conf.5.xml b/modules/pam_sepermit/sepermit.conf.5.xml index 511480f6..ff924ce1 100644 --- a/modules/pam_sepermit/sepermit.conf.5.xml +++ b/modules/pam_sepermit/sepermit.conf.5.xml @@ -1,13 +1,10 @@ -<?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="sepermit.conf"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="sepermit.conf"> <refmeta> <refentrytitle>sepermit.conf</refentrytitle> <manvolnum>5</manvolnum> - <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo> + <refmiscinfo class="source">Linux-PAM</refmiscinfo> + <refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo> </refmeta> <refnamediv> @@ -15,7 +12,7 @@ <refpurpose>configuration file for the pam_sepermit module</refpurpose> </refnamediv> - <refsect1 id='sepermit.conf-description'> + <refsect1 xml:id="sepermit.conf-description"> <title>DESCRIPTION</title> <para> The lines of the configuration file have the following syntax: @@ -24,7 +21,7 @@ <replaceable><user></replaceable>[:<replaceable><option></replaceable>:<replaceable><option></replaceable>...] </para> <para> - The <emphasis remap='B'>user</emphasis> can be specified in the following manner: + The <emphasis remap="B">user</emphasis> can be specified in the following manner: </para> <itemizedlist> <listitem> @@ -34,13 +31,13 @@ </listitem> <listitem> <para> - a groupname, with <emphasis remap='B'>@group</emphasis> syntax. + a groupname, with <emphasis remap="B">@group</emphasis> syntax. This should not be confused with netgroups. </para> </listitem> <listitem> <para> - a SELinux user name with <emphasis remap='B'>%seuser</emphasis> syntax. + a SELinux user name with <emphasis remap="B">%seuser</emphasis> syntax. </para> </listitem> </itemizedlist> @@ -51,7 +48,7 @@ <variablelist> <varlistentry> - <term><option>exclusive</option></term> + <term>exclusive</term> <listitem> <para> Only single login session will be allowed for the user @@ -60,7 +57,7 @@ </listitem> </varlistentry> <varlistentry> - <term><option>ignore</option></term> + <term>ignore</term> <listitem> <para> The module will never return PAM_SUCCESS status for the user. @@ -78,7 +75,7 @@ </para> </refsect1> - <refsect1 id="sepermit.conf-examples"> + <refsect1 xml:id="sepermit.conf-examples"> <title>EXAMPLES</title> <para> These are some example lines which might be specified in @@ -91,7 +88,7 @@ </programlisting> </refsect1> - <refsect1 id="sepermit.conf-see_also"> + <refsect1 xml:id="sepermit.conf-see_also"> <title>SEE ALSO</title> <para> <citerefentry><refentrytitle>pam_sepermit</refentrytitle><manvolnum>8</manvolnum></citerefentry>, @@ -101,10 +98,10 @@ </para> </refsect1> - <refsect1 id="sepermit.conf-author"> + <refsect1 xml:id="sepermit.conf-author"> <title>AUTHOR</title> <para> pam_sepermit and this manual page were written by Tomas Mraz <tmraz@redhat.com> </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |