Changeset 7e7bcee for postlfs/security


Ignore:
Timestamp:
05/03/2004 08:46:59 AM (20 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2a0f4071
Parents:
22c4e1ee
Message:

applied DJ's cracklib patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2086 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs/security
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/cracklib/cracklib-inst.xml

    r22c4e1ee r7e7bcee  
    44<para>First, we need to install the chosen word list for cracklib:</para>
    55
    6 <screen><userinput><command>mkdir -p /usr/share/dict/ &amp;&amp;
    7 chmod 0644 /usr/share/dict &amp;&amp;
    8 cp <replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
    9 chmod 0644 /usr/share/dict/<replaceable>[wordlist]</replaceable> &amp;&amp;
    10 ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words</command></userinput></screen>
     6<screen><userinput><command>install -d -m755 /usr/share/dict &amp;&amp;
     7install -m644 <replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
     8ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
     9echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
    1110
    12 <para>Our word list is linked to
     11<para>Our wordlist is linked to
    1312<filename>/usr/share/dict/words</filename> as historically,
    14 <filename>words</filename> is the only file in the
    15 <filename class="directory">/usr/share/dict</filename> directory.  You are
    16 welcome to shun history and adjust for your own needs.</para>
     13<filename>words</filename> is the primary wordlist in the
     14<filename class="directory">/usr/share/dict</filename> directory.  We
     15also echo the value of hostname to a file called extra.words.  This
     16extra file is intened to be a site specific list which includes easy to
     17guess passwords such as company or department name, user's names,
     18product names, computer name, domain name, etc.</para>
    1719
    18 <para>Now install cracklib using the following commands:</para>
     20<para>Now apply BLFS patch:</para>
    1921
    20 <screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-blfs-3.patch &amp;&amp;
    21 make install</command></userinput></screen>
     22<screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-blfs-1.patch</command></userinput></screen>
     23
     24<para>If necessary, apply the heimdal patch:</para>
     25
     26<screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
     27patch -Np1 -i ../cracklib-&cracklib-version;-heimdal-1.patch</command></userinput></screen>
     28
     29<para>Finally install the package:</para>
     30<screen><userinput><command>make install</command></userinput></screen>
    2231
    2332</sect2>
  • postlfs/security/cracklib/cracklib-intro.xml

    r22c4e1ee r7e7bcee  
    2020
    2121<sect3><title>Additional downloads</title>
    22 
    23 <para>Cracklib BLFS patch:
    24 <ulink url="&patch-root;/cracklib-&cracklib-version;-blfs-3.patch"/></para>
     22<itemizedlist spacing='compact'>
     23<listitem><para>Required patch: <ulink
     24url="&patch-root;/cracklib-&cracklib-version;-blfs-1.patch"/></para></listitem>
     25<listitem><para>Recommended patch: <ulink
     26url="&patch-root;/cracklib-&cracklib-version;-heimdal-1.patch"/></para></listitem>
     27</itemizedlist>
    2528
    2629<para>You will also need to download a wordlist for use with cracklib. 
  • postlfs/security/heimdal/heimdal-inst.xml

    r22c4e1ee r7e7bcee  
    1212
    1313<screen><userinput><command>mv /usr/bin/ftp /usr/bin/ftpn</command></userinput></screen>
     14
     15<para>
     16If you wish the Heimdal package to link against the cracklib library,
     17you must apply a patch:
     18</para>
     19
     20<screen><userinput><command>patch -Np1 -i ../heimdal-&heimdal-version;-cracklib-1.patch</command></userinput></screen>
    1421
    1522<para>Install <application>Heimdal</application> by running the following commands:</para>
  • postlfs/security/heimdal/heimdal-intro.xml

    r22c4e1ee r7e7bcee  
    2929url="&patch-root;/heimdal-&heimdal-version;-fhs-compliance-1.patch"/></para>
    3030</listitem>
     31<listitem><para>Required patch for cracklib: <ulink
     32url="&patch-root;/heimdal-&heimdal-version;-cracklib-1.patch"/></para>
     33</listitem>
    3134</itemizedlist>
    3235
     
    4548<xref linkend="xorg"/> or
    4649<xref linkend="xfree86"/>,
    47 <xref linkend="openldap"/> and
     50<xref linkend="openldap"/>,
     51<xref linkend="cracklib"/> and
    4852<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
    4953</para>
  • postlfs/security/pam/linux_pam-exp.xml

    r22c4e1ee r7e7bcee  
    11<sect2>
    22<title>Command explanations</title>
     3
     4<para><command>autoconf</command>:  This is necessary as in the patch, we
     5change where <acronym>PAM</acronym> looks for the cracklib libs.  This
     6requires that the configure script be recreated.</para>
    37
    48<para><option>--enable-static-libpam</option>: This switch builds
  • postlfs/security/pam/linux_pam-inst.xml

    r22c4e1ee r7e7bcee  
    66running the following commands:</para>
    77
    8 <screen><userinput><command>patch -Np1 -i ../Linux-PAM-0.77-linkage-1.patch &amp;&amp;
     8<screen><userinput><command>patch -Np1 -i ../Linux-PAM-0.77-linkage-3.patch &amp;&amp;
     9autoconf &amp;&amp;
    910./configure --enable-static-libpam --with-mailspool=/var/mail \
    1011    --enable-read-both-confs --sysconfdir=/etc &amp;&amp;
  • postlfs/security/pam/linux_pam-intro.xml

    r22c4e1ee r7e7bcee  
    2323<itemizedlist spacing='compact'>
    2424<listitem><para>Required patch:
    25 <ulink url="&patch-root;/Linux-PAM-0.77-linkage-1.patch"/></para></listitem></itemizedlist>
     25<ulink url="&patch-root;/Linux-PAM-0.77-linkage-3.patch"/></para></listitem></itemizedlist>
    2626</sect3>
    2727
Note: See TracChangeset for help on using the changeset viewer.