glfs/postlfs/security/cracklib.xml
Archaic a0f03b0675 Inserting sect1info
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2591 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-08-10 04:23:09 +00:00

122 lines
4.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY cracklib-download-http "http://www.crypticide.com/users/alecm/security/cracklib,&cracklib-version;.tar.gz">
<!ENTITY cracklib-download-ftp "ftp://ftp.cerias.purdue.edu/pub/tools/unix/libs/cracklib/cracklib.&cracklib-version;.tar.gz">
<!ENTITY cracklib-size "21 KB">
<!ENTITY cracklib-buildsize "17 MB">
<!ENTITY cracklib-time "0.10 SBU">
<!ENTITY crackdict-size "15.6MB">
<!ENTITY alldict-size "466KB">
]>
<sect1 id="cracklib" xreflabel="cracklib-&cracklib-version;">
<sect1info>
<othername>$LastChangedBy: bdubbs $</othername>
<date>$Date: 2004-08-07 18:56:30 -0600 (Sat, 07 Aug 2004) $</date>
</sect1info>
<?dbhtml filename="cracklib.html"?>
<title>cracklib-&cracklib-version;</title>
<sect2>
<title>Introduction to <application>cracklib</application></title>
<para>The <application>cracklib</application> package contains a library used
to enforce strong passwords by comparing user selected passwords to words in a
chosen wordlist.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&cracklib-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&cracklib-download-ftp;"/></para></listitem>
<listitem><para>Download size: &cracklib-size;</para></listitem>
<listitem><para>Estimated Disk space required (with cracklib wordlist):
&cracklib-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&cracklib-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<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
<application>cracklib</application>. There are two wordlists to choose from at
the following location. Use the <filename>cracklib</filename> word list for
good security, or opt for the <filename>allwords</filename> word list for
lightweight machines short on <acronym>RAM</acronym>. You can of course choose
any other word list that you have at your disposal.</para>
<itemizedlist spacing='compact'>
<listitem><para>cracklib (&crackdict-size;): <ulink
url="http://www.cotse.com/wordlists/cracklib"/></para></listitem>
<listitem><para>allwords (&alldict-size;): <ulink
url="http://www.cotse.com/wordlists/allwords"/></para></listitem>
</itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>cracklib</application></title>
<para>First, install the chosen word list for
<application>cracklib</application>:</para>
<screen><userinput><command>install -d -m755 /usr/share/dict &amp;&amp;
install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
<para>The wordlist is linked to <filename>/usr/share/dict/words</filename> as
historically, <filename>words</filename> is the primary wordlist in the
<filename class="directory">/usr/share/dict</filename> directory. Additionally,
the value of <command>hostname</command> is echoed to a file called
<filename>extra.words</filename>. This extra file is intended to be a site
specific list which includes easy to guess passwords such as company or
department names, user's names, product names, computer names, domain names,
etc.</para>
<para>Now apply the <acronym>BLFS</acronym> patch:</para>
<screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
<para>If necessary, apply the <application>Heimdal</application> patch:</para>
<screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
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>
<sect2>
<title>Contents</title>
<para>The <application>cracklib</application> package contains the
<filename class="libraryfile">libcrack</filename> and optionally, the
<filename class="libraryfile">libcrack_krb5</filename> libraries.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>libcrack libraries</title>
<para>The <filename class="libraryfile">libcrack</filename> libraries provide
a fast dictionary lookup method for strong password enforcement.</para></sect3>
</sect2>
</sect1>