cvs commit: BLFS/BOOK/postlfs/security/pam linux_pam-exp.xml linux_pam-inst.xml linux_pam-intro.xml

igor at linuxfromscratch.org igor at linuxfromscratch.org
Mon May 3 01:46:59 PDT 2004


igor        04/05/03 02:46:59

  Modified:    BOOK     index.xml
               BOOK/introduction/welcome changelog.xml
               BOOK/postlfs/security/cracklib cracklib-inst.xml
                        cracklib-intro.xml
               BOOK/postlfs/security/heimdal heimdal-inst.xml
                        heimdal-intro.xml
               BOOK/postlfs/security/pam linux_pam-exp.xml
                        linux_pam-inst.xml linux_pam-intro.xml
  Log:
  applied DJ's cracklib patch
  
  Revision  Changes    Path
  1.448     +3 -3      BLFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/index.xml,v
  retrieving revision 1.447
  retrieving revision 1.448
  diff -u -r1.447 -r1.448
  --- index.xml	2 May 2004 15:20:31 -0000	1.447
  +++ index.xml	3 May 2004 08:46:58 -0000	1.448
  @@ -2,9 +2,9 @@
   <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
   			"/usr/share/docbook/docbookx.dtd" [
   
  -<!ENTITY version "CVS-20040502">
  -<!ENTITY releasedate "May 2nd, 2004">
  -<!ENTITY pubdate "2004-05-02">
  +<!ENTITY version "CVS-20040503">
  +<!ENTITY releasedate "May 3rd, 2004">
  +<!ENTITY pubdate "2004-05-03">
   <!ENTITY blfs-version "cvs">
   
   <!ENTITY % book SYSTEM "book/book.ent">
  
  
  
  1.1100    +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.1099
  retrieving revision 1.1100
  diff -u -r1.1099 -r1.1100
  --- changelog.xml	2 May 2004 15:20:32 -0000	1.1099
  +++ changelog.xml	3 May 2004 08:46:58 -0000	1.1100
  @@ -11,6 +11,9 @@
   
   <itemizedlist>
   
  +<listitem><para>May 3rd, 2004 [igor]: Applied DJ's patch which fixes
  +cracklib instructions and added cracklib to Heimdal.</para></listitem>
  +
   <listitem><para>May 2nd, 2004 [igor]: Updated to GLib-2.4.1 and
   GTK+-2.4.1.</para></listitem>
       
  
  
  
  1.4       +21 -12    BLFS/BOOK/postlfs/security/cracklib/cracklib-inst.xml
  
  Index: cracklib-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/cracklib/cracklib-inst.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- cracklib-inst.xml	1 May 2004 23:16:24 -0000	1.3
  +++ cracklib-inst.xml	3 May 2004 08:46:58 -0000	1.4
  @@ -3,21 +3,30 @@
   
   <para>First, we need to install the chosen word list for cracklib:</para>
   
  -<screen><userinput><command>mkdir -p /usr/share/dict/ &&
  -chmod 0644 /usr/share/dict &&
  -cp <replaceable>[wordlist]</replaceable> /usr/share/dict &&
  -chmod 0644 /usr/share/dict/<replaceable>[wordlist]</replaceable> &&
  -ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words</command></userinput></screen>
  +<screen><userinput><command>install -d -m755 /usr/share/dict &&
  +install -m644 <replaceable>[wordlist]</replaceable> /usr/share/dict &&
  +ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &&
  +echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
   
  -<para>Our word list is linked to
  +<para>Our wordlist is linked to
   <filename>/usr/share/dict/words</filename> as historically,
  -<filename>words</filename> is the only file in the
  -<filename class="directory">/usr/share/dict</filename> directory.  You are 
  -welcome to shun history and adjust for your own needs.</para>
  +<filename>words</filename> is the primary wordlist in the
  +<filename class="directory">/usr/share/dict</filename> directory.  We
  +also echo the value of hostname to a file called extra.words.  This
  +extra file is intened to be a site specific list which includes easy to 
  +guess passwords such as company or department name, user's names, 
  +product names, computer name, domain name, etc.</para>
   
  -<para>Now install cracklib using the following commands:</para>
  +<para>Now apply BLFS patch:</para>
   
  -<screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-blfs-3.patch &&
  -make install</command></userinput></screen>
  +<screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-blfs-1.patch</command></userinput></screen>
  +
  +<para>If necessary, apply the heimdal patch:</para>
  +
  +<screen><userinput><command>cp -R cracklib cracklib_krb5 &&
  +patch -Np1 -i ../cracklib-&cracklib-version;-heimdal-1.patch</command></userinput></screen>
  +
  +<para>Finally install the package:</para>
  +<screen><userinput><command>make install</command></userinput></screen>
   
   </sect2>
  
  
  
  1.4       +6 -3      BLFS/BOOK/postlfs/security/cracklib/cracklib-intro.xml
  
  Index: cracklib-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/cracklib/cracklib-intro.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- cracklib-intro.xml	1 May 2004 23:16:24 -0000	1.3
  +++ cracklib-intro.xml	3 May 2004 08:46:58 -0000	1.4
  @@ -19,9 +19,12 @@
   </sect3>
   
   <sect3><title>Additional downloads</title>
  -
  -<para>Cracklib BLFS patch:
  -<ulink url="&patch-root;/cracklib-&cracklib-version;-blfs-3.patch"/></para>
  +<itemizedlist spacing='compact'>
  +<listitem><para>Required patch: <ulink
  +url="&patch-root;/cracklib-&cracklib-version;-blfs-1.patch"/></para></listitem>
  +<listitem><para>Recommended patch: <ulink
  +url="&patch-root;/cracklib-&cracklib-version;-heimdal-1.patch"/></para></listitem>
  +</itemizedlist>
   
   <para>You will also need to download a wordlist for use with cracklib.  
   There are two wordlists to choose from at the following location.
  
  
  
  1.4       +7 -0      BLFS/BOOK/postlfs/security/heimdal/heimdal-inst.xml
  
  Index: heimdal-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/heimdal/heimdal-inst.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- heimdal-inst.xml	29 Apr 2004 17:38:12 -0000	1.3
  +++ heimdal-inst.xml	3 May 2004 08:46:59 -0000	1.4
  @@ -12,6 +12,13 @@
   
   <screen><userinput><command>mv /usr/bin/ftp /usr/bin/ftpn</command></userinput></screen>
   
  +<para>
  +If you wish the Heimdal package to link against the cracklib library,
  +you must apply a patch:
  +</para>
  +
  +<screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-cracklib-1.patch</command></userinput></screen>
  +
   <para>Install <application>Heimdal</application> by running the following commands:</para>
   
   <screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-fhs-compliance-1.patch &&
  
  
  
  1.4       +5 -1      BLFS/BOOK/postlfs/security/heimdal/heimdal-intro.xml
  
  Index: heimdal-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/heimdal/heimdal-intro.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- heimdal-intro.xml	29 Apr 2004 21:53:08 -0000	1.3
  +++ heimdal-intro.xml	3 May 2004 08:46:59 -0000	1.4
  @@ -28,6 +28,9 @@
   <listitem><para>Required patch: <ulink
   url="&patch-root;/heimdal-&heimdal-version;-fhs-compliance-1.patch"/></para>
   </listitem>
  +<listitem><para>Required patch for cracklib: <ulink
  +url="&patch-root;/heimdal-&heimdal-version;-cracklib-1.patch"/></para>
  +</listitem>
   </itemizedlist>
   
   </sect3>
  @@ -44,7 +47,8 @@
   <xref linkend="Linux_PAM"/>,
   <xref linkend="xorg"/> or
   <xref linkend="xfree86"/>,
  -<xref linkend="openldap"/> and
  +<xref linkend="openldap"/>,
  +<xref linkend="cracklib"/> and
   <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
   </para>
   
  
  
  
  1.9       +4 -0      BLFS/BOOK/postlfs/security/pam/linux_pam-exp.xml
  
  Index: linux_pam-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/pam/linux_pam-exp.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- linux_pam-exp.xml	30 Sep 2003 19:56:18 -0000	1.8
  +++ linux_pam-exp.xml	3 May 2004 08:46:59 -0000	1.9
  @@ -1,6 +1,10 @@
   <sect2>
   <title>Command explanations</title>
   
  +<para><command>autoconf</command>:  This is necessary as in the patch, we
  +change where <acronym>PAM</acronym> looks for the cracklib libs.  This 
  +requires that the configure script be recreated.</para>
  +
   <para><option>--enable-static-libpam</option>: This switch builds
   static <acronym>PAM</acronym> libraries as well as the dynamic libraries.</para>
   
  
  
  
  1.13      +2 -1      BLFS/BOOK/postlfs/security/pam/linux_pam-inst.xml
  
  Index: linux_pam-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/pam/linux_pam-inst.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- linux_pam-inst.xml	22 Apr 2004 14:04:15 -0000	1.12
  +++ linux_pam-inst.xml	3 May 2004 08:46:59 -0000	1.13
  @@ -5,7 +5,8 @@
   <para>Install <application>Linux-<acronym>PAM</acronym></application> by 
   running the following commands:</para>
   
  -<screen><userinput><command>patch -Np1 -i ../Linux-PAM-0.77-linkage-1.patch &&
  +<screen><userinput><command>patch -Np1 -i ../Linux-PAM-0.77-linkage-3.patch &&
  +autoconf &&
   ./configure --enable-static-libpam --with-mailspool=/var/mail \
       --enable-read-both-confs --sysconfdir=/etc &&
   make &&
  
  
  
  1.7       +1 -1      BLFS/BOOK/postlfs/security/pam/linux_pam-intro.xml
  
  Index: linux_pam-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/postlfs/security/pam/linux_pam-intro.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- linux_pam-intro.xml	22 Apr 2004 14:04:15 -0000	1.6
  +++ linux_pam-intro.xml	3 May 2004 08:46:59 -0000	1.7
  @@ -22,7 +22,7 @@
   <sect3><title>Additional download</title>
   <itemizedlist spacing='compact'>
   <listitem><para>Required patch:
  -<ulink url="&patch-root;/Linux-PAM-0.77-linkage-1.patch"/></para></listitem></itemizedlist>
  +<ulink url="&patch-root;/Linux-PAM-0.77-linkage-3.patch"/></para></listitem></itemizedlist>
   </sect3>
   
   <sect3><title><application>Linux-<acronym>PAM</acronym></application> dependencies</title>
  
  
  



More information about the blfs-book mailing list