From cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996 Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Tue, 25 Oct 2022 16:29:41 +0200 Subject: 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 --- modules/pam_motd/README.xml | 32 +++++++++----------------------- modules/pam_motd/pam_motd.8.xml | 41 +++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 45 deletions(-) (limited to 'modules/pam_motd') diff --git a/modules/pam_motd/README.xml b/modules/pam_motd/README.xml index 779e4d17..9e8edadf 100644 --- a/modules/pam_motd/README.xml +++ b/modules/pam_motd/README.xml @@ -1,41 +1,27 @@ - - ---> -]> +
-
- - + - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_motd.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_motd-name"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_motd.8.xml" xpointer='xpointer(id("pam_motd-name")/*)'/> - +
- +
- +
- +
- +
-
+
\ No newline at end of file diff --git a/modules/pam_motd/pam_motd.8.xml b/modules/pam_motd/pam_motd.8.xml index 0afd4c99..74420371 100644 --- a/modules/pam_motd/pam_motd.8.xml +++ b/modules/pam_motd/pam_motd.8.xml @@ -1,33 +1,30 @@ - - - - + pam_motd 8 - Linux-PAM Manual + Linux-PAM + Linux-PAM Manual - + pam_motd Display the motd file - + pam_motd.so - + motd=/path/filename - + motd_dir=/path/dirname.d - + DESCRIPTION @@ -38,7 +35,7 @@ following locations: - + /etc/motd /run/motd /usr/lib/motd @@ -79,19 +76,19 @@ ln -s /dev/null /etc/motd.d/my_motd - The MOTD_SHOWN=pam environment variable + The MOTD_SHOWN=pam environment variable is set after showing the motd files, even when all of them were silenced using symbolic links. - + OPTIONS - + motd=/path/filename @@ -104,7 +101,7 @@ - + motd_dir=/path/dirname.d @@ -123,14 +120,14 @@ - + MODULE TYPES PROVIDED Only the module type is provided. - + RETURN VALUES @@ -160,7 +157,7 @@ - + EXAMPLES The suggested usage for /etc/pam.d/login is: @@ -183,7 +180,7 @@ session optional pam_motd.so motd=/elsewhere/motd motd_dir=/elsewhere/motd.d - + SEE ALSO @@ -201,7 +198,7 @@ session optional pam_motd.so motd=/elsewhere/motd motd_dir=/elsewhere/motd.d - + AUTHOR pam_motd was written by Ben Collins <bcollins@debian.org>. @@ -212,4 +209,4 @@ session optional pam_motd.so motd=/elsewhere/motd motd_dir=/elsewhere/motd.d - + \ No newline at end of file -- cgit v1.2.3