source: postlfs/security/cracklib.xml@ 6a2bce2

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6a2bce2 was 6a2bce2, checked in by Randy McMurchy <randy@…>, 17 years ago

Cleaned up indexing tags (should all be correct now)

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

  • Property mode set to 100644
File size: 5.2 KB
Line 
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
16<sect1 id="cracklib" xreflabel="cracklib-&cracklib-version;">
17<sect1info>
18<othername>$LastChangedBy$</othername>
19<date>$Date$</date>
20</sect1info>
21<?dbhtml filename="cracklib.html"?>
22<title>cracklib-&cracklib-version;</title>
23<indexterm zone="cracklib">
24<primary sortas="a-Cracklib">Cracklib</primary></indexterm>
25
26<sect2>
27<title>Introduction to <application>cracklib</application></title>
28
29<para>The <application>cracklib</application> package contains a library used
30to enforce strong passwords by comparing user selected passwords to words in a
31chosen wordlist.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Download (HTTP): <ulink
36url="&cracklib-download-http;"/></para></listitem>
37<listitem><para>Download (FTP): <ulink
38url="&cracklib-download-ftp;"/></para></listitem>
39<listitem><para>Download size: &cracklib-size;</para></listitem>
40<listitem><para>Estimated disk space required (with cracklib wordlist):
41&cracklib-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&cracklib-time;</para></listitem></itemizedlist>
44</sect3>
45
46<sect3><title>Additional downloads</title>
47<itemizedlist spacing='compact'>
48<listitem><para>Required Patch: <ulink
49url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
50<listitem><para>Recommended Patch: <ulink
51url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para>
52</listitem>
53</itemizedlist>
54
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
57the following location. Use the <filename>cracklib</filename> word list for
58good security, or opt for the <filename>allwords</filename> word list for
59lightweight machines short on <acronym>RAM</acronym>. You can of course choose
60any other word list that you have at your disposal.</para>
61
62<itemizedlist spacing='compact'>
63<listitem><para>cracklib (&crackdict-size;) at <ulink
64url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
65<listitem><para>allwords (&alldict-size;) at <ulink
66url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
67</itemizedlist>
68
69</sect3>
70
71</sect2>
72
73<sect2>
74<title>Installation of <application>cracklib</application></title>
75
76<para>First, install the chosen word list for
77<application>cracklib</application>:</para>
78
79<screen><userinput><command>install -d -m755 /usr/share/dict &amp;&amp;
80install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
81ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
82echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
83
84<para>The wordlist is linked to <filename>/usr/share/dict/words</filename> as
85historically, <filename>words</filename> is the primary wordlist in the
86<filename class="directory">/usr/share/dict</filename> directory. Additionally,
87the 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
89specific list which includes easy to guess passwords such as company or
90department names, user's names, product names, computer names, domain names,
91etc.</para>
92
93<para>Now apply the <acronym>BLFS</acronym> patch:</para>
94
95<screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
96
97<para>If necessary, apply the <application>Heimdal</application> patch:</para>
98
99<screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
100patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
101
102<para>Finally, install the package:</para>
103<screen><userinput><command>make install</command></userinput></screen>
104
105</sect2>
106
107<sect2>
108<title>Contents</title>
109
110<segmentedlist>
111<segtitle>Installed Programs</segtitle>
112<segtitle>Installed Libraries</segtitle>
113<segtitle>Installed Directory</segtitle>
114<seglistitem>
115<seg>create-cracklib-dict, mkdict and packer</seg>
116<seg>libcrack.so and optionally, libcrack_krb5.so</seg>
117<seg>/usr/share/dict</seg>
118</seglistitem>
119</segmentedlist>
120
121<variablelist>
122<bridgehead renderas="sect3">Short Descriptions</bridgehead>
123<?dbfo list-presentation="list"?>
124
125<varlistentry id="libcrack">
126<term><filename class='libraryfile'>libcrack.so</filename></term>
127<listitem><para> libraries provide a fast dictionary lookup method for strong
128password enforcement.</para>
129<indexterm zone="cracklib libcrack">
130<primary sortas="c-libcrack">libcrack.so</primary></indexterm>
131</listitem>
132</varlistentry>
133</variablelist>
134
135</sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.