Index: BOOK/final-system/common/shadow.xml
===================================================================
--- BOOK/final-system/common/shadow.xml (revision 59a35248f8f0e95f238de7491ffc16189e1850b2)
+++ BOOK/final-system/common/shadow.xml (revision 9d5637f549fa455375122af848e4d9a8ccc31af2)
@@ -29,7 +29,13 @@
If you would like to enforce the use of strong passwords,
refer to
- for installing Cracklib prior to building Shadow. Then add
- --with-libcrack to the configure
- command below.
+ for installing Cracklib prior to building Shadow. After Cracklib is
+ installed, execute this sed in Shadow's source
+ directory to correct the path to the Cracklib dictionary:
+
+sed -i 's@\(DICTPATH.\).*@\1/lib/cracklib/pw_dict@' etc/login.defs
+
+ Finally, add --with-libcrack to the
+ configure command below.
+
@@ -87,17 +93,9 @@
-e 's@/var/spool/mail@/var/mail@'
-
- If you built Shadow with Cracklib support, execute
- this sed to correct the path to the Cracklib
- dictionary:
-
-sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs
-
-
- Move a misplaced program to its proper location:
-
-mv -v /usr/bin/passwd /bin
-
- The login program will write to
+ Move a misplaced program to its proper location:
+
+mv -v /usr/bin/passwd /bin
+
+ The login program will write to
/var/log/lastlog, if it exists, to record the date and
time of the latest successful login for each user. This log file is not
@@ -105,5 +103,5 @@
create it now and give it appropriate ownership and permissions:
-touch /var/log/lastlog
+touch /var/log/lastlog
chgrp -v utmp /var/log/lastlog
chmod -v 664 /var/log/lastlog
Index: BOOK/final-system/multilib/shadow.xml
===================================================================
--- BOOK/final-system/multilib/shadow.xml (revision 59a35248f8f0e95f238de7491ffc16189e1850b2)
+++ BOOK/final-system/multilib/shadow.xml (revision 9d5637f549fa455375122af848e4d9a8ccc31af2)
@@ -96,8 +96,4 @@
xpointer="xpointer(//*[@os='w'])"/>
-
-