source: postlfs/security/cracklib.xml@ 518538f

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 518538f was 518538f, checked in by Randy McMurchy <randy@…>, 17 years ago

Standardized the 'Estimated disk space required' text

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3244 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
27<sect2>
28<title>Introduction to <application>cracklib</application></title>
29
30<para>The <application>cracklib</application> package contains a library used
31to enforce strong passwords by comparing user selected passwords to words in a
32chosen wordlist.</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing='compact'>
36<listitem><para>Download (HTTP): <ulink
37url="&cracklib-download-http;"/></para></listitem>
38<listitem><para>Download (FTP): <ulink
39url="&cracklib-download-ftp;"/></para></listitem>
40<listitem><para>Download size: &cracklib-size;</para></listitem>
41<listitem><para>Estimated disk space required (with cracklib wordlist):
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'>
49<listitem><para>Required Patch: <ulink
50url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
51<listitem><para>Recommended Patch: <ulink
52url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para></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
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>
134
135
136</sect2>
137
138</sect1>
Note: See TracBrowser for help on using the repository browser.