[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-3.0.0-sysvinit-350-g3accd6a

git git at clfs.org
Fri May 19 17:44:54 PDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, sysvinit has been updated
       via  3accd6a6f1af291fedbe83248b9385210faa2cf2 (commit)
      from  ca397704d33fac4b68172ae5d1b05d01d5d50866 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3accd6a6f1af291fedbe83248b9385210faa2cf2
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Fri May 19 19:39:11 2017 -0500

    Remove separate para with title before variable list and add title within variablelist as reported by Michio Matsuyama at the CLFS-Dev mailing list.

diff --git a/BOOK/final-system/common/shadow.xml b/BOOK/final-system/common/shadow.xml
index 6e6c5c8..fb9b363 100644
--- a/BOOK/final-system/common/shadow.xml
+++ b/BOOK/final-system/common/shadow.xml
@@ -53,9 +53,9 @@ find man -name Makefile.in -exec sed -i \
 <screen os="e"><userinput>./configure \
     --sysconfdir=/etc</userinput></screen>
 
-<para os="f">The meaning of the new configure option:</para>
+  <variablelist os="f">
+    <title>The meaning of the new configure option:</title>
 
-  <variablelist os="g">
     <varlistentry>
       <term><parameter>--sysconfdir=/etc</parameter></term>
       <listitem><para>Tells Shadow to install its configuration files into
@@ -65,17 +65,17 @@ find man -name Makefile.in -exec sed -i \
 
   </variablelist>
 
-    <para os="h">Compile the package:</para>
+    <para os="g">Compile the package:</para>
 
-<screen os="i"><userinput>make</userinput></screen>
+<screen os="h"><userinput>make</userinput></screen>
 
-    <para os="j">This package does not come with a test suite.</para>
+    <para os="i">This package does not come with a test suite.</para>
 
-    <para os="k">Install the package:</para>
+    <para os="j">Install the package:</para>
 
-<screen os="l"><userinput>make install</userinput></screen>
+<screen os="k"><userinput>make install</userinput></screen>
 
-    <para os="m" id="shadow-login_defs">Instead of using the default
+    <para os="l" id="shadow-login_defs">Instead of using the default
     <emphasis>DES</emphasis> method, use the more secure
     <emphasis>SHA512</emphasis> method of password encryption, which also allows
     passwords longer than 8 characters. It is also necessary to change the
@@ -85,17 +85,28 @@ find man -name Makefile.in -exec sed -i \
     following sed command to make these changes to the appropriate
     configuration file:</para>
 
-    <indexterm os="n" zone="shadow-login_defs">
+    <indexterm os="m" zone="shadow-login_defs">
       <primary sortas="e-/etc/login.defs">/etc/login.defs</primary>
     </indexterm>
 
-<screen os="s"><userinput>sed -i /etc/login.defs \
+<screen os="n"><userinput>sed -i /etc/login.defs \
     -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \
     -e 's@/var/spool/mail@/var/mail@'</userinput></screen>
 
-    <para os="t">Move a misplaced program to its proper location:</para>
+    <para os="o">Move a misplaced program to its proper location:</para>
 
-<screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
+<screen os="p"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
+
+    <para os="q">The <command>login</command> program will write to
+    <filename>/var/log/faillog</filename>, to record failed login attempts, and
+    <filename>/var/log/lastlog</filename>, to record the date and
+    time of the latest successful login for each user. These log files are not
+    created automatically if they do not already exist, so we will
+    create them now and give them appropriate ownership and permissions:</para>
+
+<screen os="r"><userinput>touch /var/log/{fail,last}log
+chgrp -v utmp /var/log/{fail,last}log
+chmod -v 664 /var/log/{fail,last}log</userinput></screen>
 
   </sect2>
 
diff --git a/BOOK/final-system/multilib/shadow.xml b/BOOK/final-system/multilib/shadow.xml
index 29fc479..8e6bc27 100644
--- a/BOOK/final-system/multilib/shadow.xml
+++ b/BOOK/final-system/multilib/shadow.xml
@@ -78,15 +78,19 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/shadow.xml"
-    xpointer="xpointer(//*[@os='s'])"/>
+    xpointer="xpointer(//*[@os='o'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/shadow.xml"
-    xpointer="xpointer(//*[@os='t'])"/>
+    xpointer="xpointer(//*[@os='p'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/shadow.xml"
-    xpointer="xpointer(//*[@os='u'])"/>
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../common/shadow.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
 
   </sect2>
 

-----------------------------------------------------------------------

Summary of changes:
 BOOK/final-system/common/shadow.xml   |   35 +++++++++++++++++++++-----------
 BOOK/final-system/multilib/shadow.xml |   10 ++++++--
 2 files changed, 30 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list