r4792 - trunk/BOOK/postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Jul 26 12:14:56 PDT 2005


Author: randy
Date: 2005-07-26 13:14:55 -0600 (Tue, 26 Jul 2005)
New Revision: 4792

Modified:
   trunk/BOOK/postlfs/security/linux_pam.xml
Log:
Shortened a long command (to fit on PDF output) and cleaned up some obsolete text in the Linux-PAM instructions

Modified: trunk/BOOK/postlfs/security/linux_pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux_pam.xml	2005-07-26 18:54:12 UTC (rev 4791)
+++ trunk/BOOK/postlfs/security/linux_pam.xml	2005-07-26 19:14:55 UTC (rev 4792)
@@ -9,7 +9,7 @@
   <!ENTITY Linux_PAM-md5sum    "ccff87fe639efdfc22b1ba4a0f08ec57">
   <!ENTITY Linux_PAM-size      "376 KB">
   <!ENTITY Linux_PAM-buildsize "8.6 MB">
-  <!ENTITY Linux_PAM-time      "0.15 SBU">
+  <!ENTITY Linux_PAM-time      "0.2 SBU">
 ]>
 
 <sect1 id="Linux_PAM" xreflabel="Linux-PAM-&Linux_PAM-version;">
@@ -84,7 +84,7 @@
     <para>Install <application>Linux-PAM</application> by
     running the following commands:</para>
 
-<screen><userinput>sed -i 's at DICT_DIR_CANDIDATES="@DICT_DIR_CANDIDATES="/lib /lib/cracklib @' \
+<screen><userinput>sed -i 's|DICT_DIR_CANDIDATES="|&/lib /lib/cracklib |' \
     configure &&
 ./configure --enable-static-libpam --with-mailspool=/var/mail \
     --enable-read-both-confs --sysconfdir=/etc \
@@ -118,14 +118,11 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>sed -i 's at CANDIDATES="@CANDIDATES="/lib 
-    /lib/cracklib @' configure.in</command>: This command 
-    changes where configure looks to find the cracklib_dict.</para>
+    <para><command>sed -i 's|DICT_DIR_CANDIDATES="|&/lib /lib/cracklib |'
+    configure</command>: This command changes where
+    <command>configure</command> looks to find the
+    <application>CrackLib</application> dictionary.</para>
 
-    <para><command>autoconf</command>:  This is necessary because the
-    sed changes where PAM looks for the <application>cracklib</application>
-    libraries, requiring regeneration of the configure script.</para>
-
     <para><parameter>--enable-static-libpam</parameter>: This switch builds
     static PAM libraries as well as the dynamic libraries.</para>
 




More information about the blfs-book mailing list