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_issue/pam_issue.8.xml | |
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_issue/pam_issue.8.xml')
-rw-r--r-- | modules/pam_issue/pam_issue.8.xml | 63 |
1 files changed, 30 insertions, 33 deletions
diff --git a/modules/pam_issue/pam_issue.8.xml b/modules/pam_issue/pam_issue.8.xml index fb9b7377..20d32451 100644 --- a/modules/pam_issue/pam_issue.8.xml +++ b/modules/pam_issue/pam_issue.8.xml @@ -1,110 +1,107 @@ -<?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_issue"> +<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_issue"> <refmeta> <refentrytitle>pam_issue</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_issue-name"> + <refnamediv xml:id="pam_issue-name"> <refname>pam_issue</refname> <refpurpose>PAM module to add issue file to user prompt</refpurpose> </refnamediv> <refsynopsisdiv> - <cmdsynopsis id="pam_issue-cmdsynopsis"> + <cmdsynopsis xml:id="pam_issue-cmdsynopsis" sepchar=" "> <command>pam_issue.so</command> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> noesc </arg> - <arg choice="opt"> + <arg choice="opt" rep="norepeat"> issue=<replaceable>issue-file-name</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> - <refsect1 id="pam_issue-description"> + <refsect1 xml:id="pam_issue-description"> <title>DESCRIPTION</title> <para> pam_issue is a PAM module to prepend an issue file to the username prompt. It also by default parses escape codes in the issue file - similar to some common getty's (using \x format). + similar to some common getty's (using \x format). </para> <para> Recognized escapes: </para> <variablelist> <varlistentry> - <term><emphasis remap='B'>\d</emphasis></term> + <term>\d</term> <listitem> <para>current day</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\l</emphasis></term> + <term>\l</term> <listitem> <para>name of this tty</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\m</emphasis></term> + <term>\m</term> <listitem> <para>machine architecture (uname -m)</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\n</emphasis></term> + <term>\n</term> <listitem> <para>machine's network node hostname (uname -n)</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\o</emphasis></term> + <term>\o</term> <listitem> <para>domain name of this system</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\r</emphasis></term> + <term>\r</term> <listitem> <para>release number of operating system (uname -r)</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\t</emphasis></term> + <term>\t</term> <listitem> <para>current time</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\s</emphasis></term> + <term>\s</term> <listitem> <para>operating system name (uname -s)</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\u</emphasis></term> + <term>\u</term> <listitem> <para>number of users currently logged in</para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\U</emphasis></term> + <term>\U</term> <listitem> <para> - same as \u except it is suffixed with "user" or + same as \u except it is suffixed with "user" or "users" (eg. "1 user" or "10 users") </para> </listitem> </varlistentry> <varlistentry> - <term><emphasis remap='B'>\v</emphasis></term> + <term>\v</term> <listitem> <para>operating system version and build date (uname -v)</para> </listitem> @@ -113,7 +110,7 @@ </refsect1> - <refsect1 id="pam_issue-options"> + <refsect1 xml:id="pam_issue-options"> <title>OPTIONS</title> <para> @@ -121,7 +118,7 @@ <varlistentry> <term> - <option>noesc</option> + noesc </term> <listitem> <para> @@ -132,7 +129,7 @@ <varlistentry> <term> - <option>issue=<replaceable>issue-file-name</replaceable></option> + issue=issue-file-name </term> <listitem> <para> @@ -146,14 +143,14 @@ </para> </refsect1> - <refsect1 id="pam_issue-types"> + <refsect1 xml:id="pam_issue-types"> <title>MODULE TYPES PROVIDED</title> <para> Only the <option>auth</option> module type is provided. </para> </refsect1> - <refsect1 id='pam_issue-return_values'> + <refsect1 xml:id="pam_issue-return_values"> <title>RETURN VALUES</title> <para> <variablelist> @@ -198,7 +195,7 @@ </para> </refsect1> - <refsect1 id='pam_issue-examples'> + <refsect1 xml:id="pam_issue-examples"> <title>EXAMPLES</title> <para> Add the following line to <filename>/etc/pam.d/login</filename> to @@ -209,7 +206,7 @@ </para> </refsect1> - <refsect1 id='pam_issue-see_also'> + <refsect1 xml:id="pam_issue-see_also"> <title>SEE ALSO</title> <para> <citerefentry> @@ -224,11 +221,11 @@ </para> </refsect1> - <refsect1 id='pam_issue-author'> + <refsect1 xml:id="pam_issue-author"> <title>AUTHOR</title> <para> pam_issue was written by Ben Collins <bcollins@debian.org>. </para> </refsect1> -</refentry> +</refentry>
\ No newline at end of file |