r5301 - in trunk/BOOK: introduction/welcome postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu Nov 24 09:22:17 PST 2005


Author: randy
Date: 2005-11-24 10:22:16 -0700 (Thu, 24 Nov 2005)
New Revision: 5301

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/cracklib.xml
Log:
Modified the CrackLib installation commands to work with the new version

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-11-24 04:18:34 UTC (rev 5300)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-11-24 17:22:16 UTC (rev 5301)
@@ -45,7 +45,8 @@
       <para>November 24th, 2005</para>
       <itemizedlist>
         <listitem>
-          <para>[randy] - Updated to CrackLib-2.8.6.</para>
+          <para>[randy] - Updated to CrackLib-2.8.6 and modified the
+          installation commands to work with the newer version.</para>
         </listitem>
       </itemizedlist>
     </listitem>

Modified: trunk/BOOK/postlfs/security/cracklib.xml
===================================================================
--- trunk/BOOK/postlfs/security/cracklib.xml	2005-11-24 04:18:34 UTC (rev 5300)
+++ trunk/BOOK/postlfs/security/cracklib.xml	2005-11-24 17:22:16 UTC (rev 5301)
@@ -117,7 +117,8 @@
     <para>Install <application>CrackLib</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --datadir=/lib &&
+<screen><userinput>./configure --prefix=/usr \
+            --with-default-dict=/lib/cracklib/pw_dict &&
 make</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
@@ -126,16 +127,20 @@
 mv -v /usr/lib/libcrack.so.2* /lib &&
 ln -v -sf ../../lib/libcrack.so.2.8.0 /usr/lib/libcrack.so</userinput></screen>
 
-    <para>The following commands can be used to install the recommended word
-    list. Other word lists (text based, one word per line) can also be used by
-    simply installing them into
-    <filename class='directory'>/usr/share/dict</filename>.</para>
+    <para>Issue the following commands as the
+    <systemitem class="username">root</systemitem> user to install the
+    recommended word list and create the <application>CrackLib</application>
+    dictionary. Other word lists (text based, one word per line) can also be
+    used by simply installing them into
+    <filename class='directory'>/usr/share/dict</filename> and adding them
+    to the <command>create-cracklib-dict</command> command.</para>
 
 <screen role="root"><userinput>install -v -m644 -D ../cracklib-words.gz \
     /usr/share/dict/cracklib-words.gz &&
 gunzip -v /usr/share/dict/cracklib-words.gz &&
 ln -v -s cracklib-words /usr/share/dict/words &&
 echo $(hostname) >>/usr/share/dict/cracklib-extra-words &&
+install -v -m755 -d /lib/cracklib &&
 create-cracklib-dict /usr/share/dict/cracklib-words \
                      /usr/share/dict/cracklib-extra-words</userinput></screen>
 
@@ -149,8 +154,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><parameter>--datadir=/lib</parameter>: This parameter forces the
-    installation of the <application>CrackLib</application> dictionary to the
+    <para><parameter>--with-default-dict=/lib/cracklib/pw_dict</parameter>:
+    This parameter forces the installation of the
+    <application>CrackLib</application> dictionary to the
     <filename class='directory'>/lib</filename> hierarchy.</para>
 
     <para><command>mv -v /usr/lib/libcrack.so.2* /lib</command> and
@@ -197,8 +203,9 @@
       <seglistitem>
         <seg>cracklib-check, cracklib-format, cracklib-packer,
         cracklib-unpacker and create-cracklib-dict</seg>
-        <seg>libcrack.[so,a] and optionally, libcrack_heimdal.[so,a]</seg>
-        <seg>/lib/cracklib and /usr/share/dict</seg>
+        <seg>libcrack.[so,a] and optionally, libcrack_heimdal.[so,a] and
+        cracklibmodule.[so,a] <application>Python</application> module</seg>
+        <seg>/lib/cracklib, /usr/share/dict and /usr/share/cracklib</seg>
       </seglistitem>
     </segmentedlist>
 




More information about the blfs-book mailing list