glfs/postlfs/security/cracklib/cracklib-inst.xml
Tushar Teredesai 8b34ea8376 Renamed cracklib patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2080 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-01 23:16:24 +00:00

24 lines
996 B
XML

<sect2>
<title>Installation of <application>cracklib</application></title>
<para>First, we need to install the chosen word list for cracklib:</para>
<screen><userinput><command>mkdir -p /usr/share/dict/ &amp;&amp;
chmod 0644 /usr/share/dict &amp;&amp;
cp <replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
chmod 0644 /usr/share/dict/<replaceable>[wordlist]</replaceable> &amp;&amp;
ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words</command></userinput></screen>
<para>Our word list 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>
<para>Now install cracklib using the following commands:</para>
<screen><userinput><command>patch -Np1 -i ../cracklib-&cracklib-version;-blfs-3.patch &amp;&amp;
make install</command></userinput></screen>
</sect2>