source: postlfs/security/cracklib.xml@ 169987d0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 169987d0 was 169987d0, checked in by Randy McMurchy <randy@…>, 20 years ago

Fixed ambiguous path to cracklib word list installation instructions

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

  • Property mode set to 100644
File size: 4.7 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<?dbhtml filename="cracklib.html"?>
18<title>cracklib-&cracklib-version;</title>
19
20<sect2>
21<title>Introduction to <application>cracklib</application></title>
22
23<para>The <application>cracklib</application> package contains a library used
24to enforce strong passwords by comparing user selected passwords to words in a
25chosen wordlist.</para>
26
27<sect3><title>Package information</title>
28<itemizedlist spacing='compact'>
29<listitem><para>Download (HTTP): <ulink
30url="&cracklib-download-http;"/></para></listitem>
31<listitem><para>Download (FTP): <ulink
32url="&cracklib-download-ftp;"/></para></listitem>
33<listitem><para>Download size: &cracklib-size;</para></listitem>
34<listitem><para>Estimated Disk space required (with cracklib wordlist):
35&cracklib-buildsize;</para></listitem>
36<listitem><para>Estimated build time:
37&cracklib-time;</para></listitem></itemizedlist>
38</sect3>
39
40<sect3><title>Additional downloads</title>
41<itemizedlist spacing='compact'>
42<listitem><para>Required Patch: <ulink
43url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
44<listitem><para>Recommended Patch: <ulink
45url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para></listitem>
46</itemizedlist>
47
48<para>You will also need to download a wordlist for use with
49<application>cracklib</application>. There are two wordlists to choose from at
50the following location. Use the <filename>cracklib</filename> word list for
51good security, or opt for the <filename>allwords</filename> word list for
52lightweight machines short on <acronym>RAM</acronym>. You can of course choose
53any other word list that you have at your disposal.</para>
54
55<itemizedlist spacing='compact'>
56<listitem><para>cracklib (&crackdict-size;): <ulink
57url="http://www.cotse.com/wordlists/cracklib"/></para></listitem>
58<listitem><para>allwords (&alldict-size;): <ulink
59url="http://www.cotse.com/wordlists/allwords"/></para></listitem>
60</itemizedlist>
61
62</sect3>
63
64</sect2>
65
66<sect2>
67<title>Installation of <application>cracklib</application></title>
68
69<para>First, install the chosen word list for
70<application>cracklib</application>:</para>
71
72<screen><userinput><command>install -d -m755 /usr/share/dict &amp;&amp;
73install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
74ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
75echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
76
77<para>The wordlist is linked to <filename>/usr/share/dict/words</filename> as
78historically, <filename>words</filename> is the primary wordlist in the
79<filename class="directory">/usr/share/dict</filename> directory. Additionally,
80the value of <command>hostname</command> is echoed to a file called
81<filename>extra.words</filename>. This extra file is intended to be a site
82specific list which includes easy to guess passwords such as company or
83department names, user's names, product names, computer names, domain names,
84etc.</para>
85
86<para>Now apply the <acronym>BLFS</acronym> patch:</para>
87
88<screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
89
90<para>If necessary, apply the <application>Heimdal</application> patch:</para>
91
92<screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
93patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
94
95<para>Finally, install the package:</para>
96<screen><userinput><command>make install</command></userinput></screen>
97
98</sect2>
99
100<sect2>
101<title>Contents</title>
102
103<para>The <application>cracklib</application> package contains the
104<filename class="libraryfile">libcrack</filename> and optionally, the
105<filename class="libraryfile">libcrack_krb5</filename> libraries.</para>
106
107</sect2>
108
109<sect2><title>Description</title>
110
111<sect3><title>libcrack libraries</title>
112<para>The <filename class="libraryfile">libcrack</filename> libraries provide
113a fast dictionary lookup method for strong password enforcement.</para></sect3>
114
115</sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.