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

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu Mar 23 06:42:37 PST 2006


Author: randy
Date: 2006-03-23 07:42:36 -0700 (Thu, 23 Mar 2006)
New Revision: 5740

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/cracklib.xml
   trunk/BOOK/postlfs/security/shadow.xml
Log:
Added a note to the CrackLib instructions advising to reinstall Shadow if you need strong password support without installing Linux-PAM; also modified the Shadow instructions to reflect that it needs to be reinstalled (and provided the modified commands) if CrackLib is installed without Linux-PAM

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-03-23 03:22:42 UTC (rev 5739)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-03-23 14:42:36 UTC (rev 5740)
@@ -45,6 +45,16 @@
       <para>March 23rd, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a note to the CrackLib instructions advising
+          to reinstall Shadow if you need strong password support without
+          installing Linux-PAM.</para>
+        </listitem>
+        <listitem>
+          <para>[randy] - Modified the Shadow instructions to reflect that
+          it needs to be reinstalled (and provided the modified commands) if
+          CrackLib is installed without Linux-PAM.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to CrackLib-2.8.9.</para>
         </listitem>
       </itemizedlist>

Modified: trunk/BOOK/postlfs/security/cracklib.xml
===================================================================
--- trunk/BOOK/postlfs/security/cracklib.xml	2006-03-23 03:22:42 UTC (rev 5739)
+++ trunk/BOOK/postlfs/security/cracklib.xml	2006-03-23 14:42:36 UTC (rev 5740)
@@ -153,6 +153,17 @@
 
 <screen><userinput>make test</userinput></screen>
 
+    <important>
+      <para>If you are installing <application>CrackLib</application> after
+      your LFS system has been completed and you have the
+      <application>Shadow</application> package installed, you must
+      reinstall <xref linkend="shadow"/> if you wish to provide strong
+      password support on your system. If you are now going to install the
+      <xref linkend="linux-pam"/> package, you may disregard this note as
+      <application>Shadow</application> will be reinstalled after the
+      <application>Linux-PAM</application> installation.</para>
+    </important>
+
   </sect2>
 
   <sect2 role="commands">

Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml	2006-03-23 03:22:42 UTC (rev 5739)
+++ trunk/BOOK/postlfs/security/shadow.xml	2006-03-23 14:42:36 UTC (rev 5740)
@@ -35,9 +35,12 @@
 
     <para><application>Shadow</application> was indeed installed in LFS and
     there is no reason to reinstall it unless you installed
-    <application>Linux-PAM</application>. If you did install
-    <application>Linux-PAM</application>, reinstalling
-    <application>Shadow</application> will allow programs such as
+    <application>CrackLib</application> or
+    <application>Linux-PAM</application> after your LFS system was completed.
+    If you have installed <application>CrackLib</application> after LFS, then
+    reinstalling <application>Shadow</application> will enable strong password
+    support. If you have installed <application>Linux-PAM</application>,
+    reinstalling <application>Shadow</application> will allow programs such as
     <command>login</command> and <command>su</command> to utilize PAM.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -73,13 +76,27 @@
     <bridgehead renderas="sect3">Shadow Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
-    <para role="required"><xref linkend="linux-pam"/></para>
+    <para role="required"><xref linkend="linux-pam"/> and/or
+    <xref linkend="cracklib"/></para>
 
   </sect2>
 
   <sect2 role="installation">
     <title>Installation of Shadow</title>
 
+    <important>
+      <para>The installation shown below is for a situation where
+      <application>Linux-PAM</application> has been installed (with or
+      without a <application>CrackLib</application> installation) and
+      <application>Shadow</application> is being reinstalled to support the
+      <application>Linux-PAM</application> installation. If you are
+      reinstalling <application>Shadow</application> to provide strong
+      password support via the <application>CrackLib</application> library
+      and you have not installed <application>Linux-PAM</application>, ensure
+      you replace the <parameter>--with-libpam --without-libcrack</parameter>
+      parameters with <parameter>--with-libcrack</parameter>.</para>
+    </important>
+
     <para>Reinstall <application>Shadow</application> by running the following
     commands:</para>
 




More information about the blfs-book mailing list