[b4b71892] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY cracklib-download-http "http://www.crypticide.com/users/alecm/security/cracklib,&cracklib-version;.tar.gz">
|
---|
| 8 | <!ENTITY cracklib-download-ftp "ftp://ftp.cerias.purdue.edu/pub/tools/unix/libs/cracklib/cracklib.&cracklib-version;.tar.gz">
|
---|
| 9 | <!ENTITY cracklib-size "21 KB">
|
---|
| 10 | <!ENTITY cracklib-buildsize "17 MB">
|
---|
| 11 | <!ENTITY cracklib-time "0.10 SBU">
|
---|
| 12 | <!ENTITY crackdict-size "15.6MB">
|
---|
| 13 | <!ENTITY alldict-size "466KB">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
[fa48bf3] | 16 | <sect1 id="cracklib" xreflabel="cracklib-&cracklib-version;">
|
---|
[c881854] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[c881854] | 20 | </sect1info>
|
---|
[bae6e15] | 21 | <?dbhtml filename="cracklib.html"?>
|
---|
[fa48bf3] | 22 | <title>cracklib-&cracklib-version;</title>
|
---|
[89adf24] | 23 | <indexterm zone="cracklib">
|
---|
| 24 | <primary sortas="a-cracklib">Cracklib</primary></indexterm>
|
---|
| 25 |
|
---|
[fa48bf3] | 26 |
|
---|
[b4b71892] | 27 | <sect2>
|
---|
| 28 | <title>Introduction to <application>cracklib</application></title>
|
---|
| 29 |
|
---|
[2197589] | 30 | <para>The <application>cracklib</application> package contains a library used
|
---|
| 31 | to enforce strong passwords by comparing user selected passwords to words in a
|
---|
| 32 | chosen wordlist.</para>
|
---|
[b4b71892] | 33 |
|
---|
| 34 | <sect3><title>Package information</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Download (HTTP): <ulink
|
---|
| 37 | url="&cracklib-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink
|
---|
| 39 | url="&cracklib-download-ftp;"/></para></listitem>
|
---|
| 40 | <listitem><para>Download size: &cracklib-size;</para></listitem>
|
---|
[518538f] | 41 | <listitem><para>Estimated disk space required (with cracklib wordlist):
|
---|
[b4b71892] | 42 | &cracklib-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &cracklib-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3><title>Additional downloads</title>
|
---|
| 48 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 49 | <listitem><para>Required Patch: <ulink
|
---|
[b4b71892] | 50 | url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
|
---|
[07b157f4] | 51 | <listitem><para>Recommended Patch: <ulink
|
---|
[b4b71892] | 52 | url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para></listitem>
|
---|
| 53 | </itemizedlist>
|
---|
| 54 |
|
---|
[2197589] | 55 | <para>You will also need to download a wordlist for use with
|
---|
| 56 | <application>cracklib</application>. There are two wordlists to choose from at
|
---|
| 57 | the following location. Use the <filename>cracklib</filename> word list for
|
---|
| 58 | good security, or opt for the <filename>allwords</filename> word list for
|
---|
| 59 | lightweight machines short on <acronym>RAM</acronym>. You can of course choose
|
---|
| 60 | any other word list that you have at your disposal.</para>
|
---|
[b4b71892] | 61 |
|
---|
[2197589] | 62 | <itemizedlist spacing='compact'>
|
---|
[89adf24] | 63 | <listitem><para>cracklib (&crackdict-size;) at <ulink
|
---|
| 64 | url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
|
---|
| 65 | <listitem><para>allwords (&alldict-size;) at <ulink
|
---|
| 66 | url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
|
---|
[2197589] | 67 | </itemizedlist>
|
---|
[b4b71892] | 68 |
|
---|
| 69 | </sect3>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2>
|
---|
| 74 | <title>Installation of <application>cracklib</application></title>
|
---|
| 75 |
|
---|
[169987d0] | 76 | <para>First, install the chosen word list for
|
---|
| 77 | <application>cracklib</application>:</para>
|
---|
[b4b71892] | 78 |
|
---|
| 79 | <screen><userinput><command>install -d -m755 /usr/share/dict &&
|
---|
[169987d0] | 80 | install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &&
|
---|
[b4b71892] | 81 | ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &&
|
---|
| 82 | echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
|
---|
| 83 |
|
---|
[4f65b2f] | 84 | <para>The wordlist is linked to <filename>/usr/share/dict/words</filename> as
|
---|
| 85 | historically, <filename>words</filename> is the primary wordlist in the
|
---|
[2197589] | 86 | <filename class="directory">/usr/share/dict</filename> directory. Additionally,
|
---|
| 87 | the value of <command>hostname</command> is echoed to a file called
|
---|
| 88 | <filename>extra.words</filename>. This extra file is intended to be a site
|
---|
| 89 | specific list which includes easy to guess passwords such as company or
|
---|
| 90 | department names, user's names, product names, computer names, domain names,
|
---|
| 91 | etc.</para>
|
---|
[4f65b2f] | 92 |
|
---|
[2197589] | 93 | <para>Now apply the <acronym>BLFS</acronym> patch:</para>
|
---|
[b4b71892] | 94 |
|
---|
| 95 | <screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
|
---|
| 96 |
|
---|
[2197589] | 97 | <para>If necessary, apply the <application>Heimdal</application> patch:</para>
|
---|
[b4b71892] | 98 |
|
---|
| 99 | <screen><userinput><command>cp -R cracklib cracklib_krb5 &&
|
---|
| 100 | patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
|
---|
| 101 |
|
---|
[2197589] | 102 | <para>Finally, install the package:</para>
|
---|
[b4b71892] | 103 | <screen><userinput><command>make install</command></userinput></screen>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2>
|
---|
| 108 | <title>Contents</title>
|
---|
| 109 |
|
---|
| 110 |
|
---|
[89adf24] | 111 | <segmentedlist>
|
---|
| 112 | <segtitle>Installed Programs</segtitle>
|
---|
| 113 | <segtitle>Installed Libraries</segtitle>
|
---|
| 114 | <segtitle>Installed Directory</segtitle>
|
---|
| 115 | <seglistitem>
|
---|
| 116 | <seg>create-cracklib-dict, mkdict and packer</seg>
|
---|
| 117 | <seg>libcrack.so and optionally, libcrack_krb5.so</seg>
|
---|
| 118 | <seg>/usr/share/dict</seg>
|
---|
| 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="libcrack">
|
---|
| 127 | <term><filename class='libraryfile'>libcrack.so</filename></term>
|
---|
| 128 | <listitem><para> libraries provide a fast dictionary lookup method for strong password enforcement.</para>
|
---|
| 129 | <indexterm zone="cracklib libcrack">
|
---|
| 130 | <primary sortas="c-libcrack">libcrack.so</primary></indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 | </variablelist>
|
---|
[b4b71892] | 134 |
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
[fa48bf3] | 137 |
|
---|
| 138 | </sect1>
|
---|