source: postlfs/security/cracklib.xml@ b4b71892

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

New XML Chapter 4

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

  • Property mode set to 100644
File size: 4.3 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
21<sect2>
22<title>Introduction to <application>cracklib</application></title>
23
24<para>The cracklib package contains a library used to enforce strong passwords
25by comparing user selected passwords to words in a chosen 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 cracklib. There
49are two wordlists to choose from at the following location. Use the
50<filename>cracklib</filename> word list for good security, or opt for the
51<filename>allwords</filename> word list for lightweight machines short on
52<acronym>RAM</acronym>. You can of course choose any other word list that you
53have at your disposal.</para>
54
55<para>cracklib (&crackdict-size;): <ulink url="http://www.cotse.com/wordlists/cracklib"/></para>
56<para>allwords (&alldict-size;): <ulink url="http://www.cotse.com/wordlists/allwords"/></para>
57
58</sect3>
59
60</sect2>
61
62<sect2>
63<title>Installation of <application>cracklib</application></title>
64
65<para>First, we need to install the chosen word list for cracklib:</para>
66
67<screen><userinput><command>install -d -m755 /usr/share/dict &amp;&amp;
68install -m644 <replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
69ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
70echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
71
72<para>Our wordlist is linked to <filename>/usr/share/dict/words</filename> as
73historically, <filename>words</filename> is the primary wordlist in the
74<filename class="directory">/usr/share/dict</filename> directory. We also echo
75the value of hostname to a file called extra.words. This extra file is intened
76to be a site specific list which includes easy to guess passwords such as
77company or department name, user's names, product names, computer name, domain
78name, etc.</para>
79
80<para>Now apply BLFS patch:</para>
81
82<screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
83
84<para>If necessary, apply the heimdal patch:</para>
85
86<screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
87patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
88
89<para>Finally install the package:</para>
90<screen><userinput><command>make install</command></userinput></screen>
91
92</sect2>
93
94<sect2>
95<title>Contents</title>
96
97<para>The <application>cracklib</application> package
98contains the <filename class="libraryfile">libcrack</filename>
99library.</para>
100
101</sect2>
102
103<sect2><title>Description</title>
104
105<sect3><title>libcrack library</title>
106<para>The <filename class="libraryfile">libcrack</filename> library
107provides a fast dictionary lookup method for strong password
108enforcement.</para></sect3>
109
110</sect2>
111
112</sect1>
Note: See TracBrowser for help on using the repository browser.