source: postlfs/security/cracklib.xml@ dd0f2f77

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 dd0f2f77 was dd0f2f77, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

Resetting cracklib test patch; set patches keywords

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

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