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

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 518538f was 518538f, checked in by Randy McMurchy <randy@…>, 19 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
RevLine 
[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
31to enforce strong passwords by comparing user selected passwords to words in a
32chosen wordlist.</para>
[b4b71892]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>
[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]50url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
[07b157f4]51<listitem><para>Recommended Patch: <ulink
[b4b71892]52url="&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
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>
[b4b71892]61
[2197589]62<itemizedlist spacing='compact'>
[89adf24]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>
[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 &amp;&amp;
[169987d0]80install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
[b4b71892]81ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
82echo $(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
85historically, <filename>words</filename> is the primary wordlist in the
[2197589]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>
[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 &amp;&amp;
100patch -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>
Note: See TracBrowser for help on using the repository browser.