source: postlfs/security/cracklib.xml@ 9623b6e8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 9623b6e8 was 9623b6e8, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Tagged cracklib.xml

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

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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-http-md5sum "0c84ad7413d9dd3e5c2eaa5f97d53c4a">
10 <!ENTITY cracklib-ftp-md5sum "7f810e310c7f2df33d1eaa2b41ab2435">
11 <!ENTITY cracklib-size "21 KB">
12 <!ENTITY cracklib-buildsize "21.8 MB">
13 <!ENTITY cracklib-time "0.05 SBU">
14 <!ENTITY crackdict-size "15.6 MB">
15 <!ENTITY alldict-size "466 KB">
16]>
17
18<sect1 id="cracklib" xreflabel="cracklib-&cracklib-version;">
19 <?dbhtml filename="cracklib.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Cracklib-&cracklib-version;</title>
27
28 <indexterm zone="cracklib">
29 <primary sortas="a-Cracklib">Cracklib</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Cracklib</title>
34
35 <para>The <application>cracklib</application> package contains a
36 library used to enforce strong passwords by comparing user selected
37 passwords to words in a chosen wordlist.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&cracklib-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&cracklib-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum (HTTP): &cracklib-http-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum (FTP): &cracklib-ftp-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &cracklib-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &cracklib-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &cracklib-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
65 <itemizedlist spacing='compact'>
66 <listitem>
67 <para>Required Patch: <ulink
68 url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para>
69 </listitem>
70 <listitem>
71 <para>Recommended Patch: <ulink
72 url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para>
73 </listitem>
74 </itemizedlist>
75
76 <para>You will also need to download a wordlist for use with
77 <application>cracklib</application>. There are two wordlists
78 to choose from at the following location. Use the
79 <filename>cracklib</filename> word list for good security, or
80 opt for the <filename>allwords</filename> word list for
81 lightweight machines short on RAM. You can of course choose
82 any other word list that you have at your disposal.</para>
83
84 <itemizedlist spacing='compact'>
85 <listitem>
86 <para>cracklib (&crackdict-size;) at <ulink
87 url="http://www.cotse.com/tools/wordlists.htm"/></para>
88 </listitem>
89 <listitem>
90 <para>allwords (&alldict-size;) at <ulink
91 url="http://www.cotse.com/tools/wordlists.htm"/></para>
92 </listitem>
93 </itemizedlist>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of Cracklib</title>
99
100 <para>First, as the <systemitem class="username">root</systemitem>
101 user, install the chosen word list for
102 <application>cracklib</application>:</para>
103
104<screen role="root"><userinput>install -v -d -m755 /usr/share/dict &amp;&amp;
105install -v -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
106ln -v -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
107echo $(hostname) >> /usr/share/dict/extra.words</userinput></screen>
108
109 <para>The wordlist is linked to <filename>/usr/share/dict/words</filename>
110 as historically, <filename>words</filename> is the primary wordlist in the
111 <filename class="directory">/usr/share/dict</filename> directory.
112 Additionally, the value of <command>hostname</command> is echoed to a file
113 called <filename>extra.words</filename>. This extra file is intended to be
114 a site specific list which includes easy to guess passwords such as company
115 or department names, user's names, product names, computer names, domain
116 names, etc.</para>
117
118 <para>Now apply the BLFS patch:</para>
119
120<screen><userinput>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</userinput></screen>
121
122 <para>If necessary, apply the <application>Heimdal</application>
123 patch:</para>
124
125<screen><userinput>cp -R cracklib cracklib_krb5 &amp;&amp;
126patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</userinput></screen>
127
128 <para>Finally, as the <systemitem class="username">root</systemitem>
129 user, build and install the package:</para>
130
131<screen role="root"><userinput>make install &amp;&amp;
132rm -v /lib/libcrack.so &amp;&amp;
133ln -v -sf ../../lib/libcrack.so.2.7 /usr/lib/libcrack.so</userinput></screen>
134
135 </sect2>
136
137 <sect2 role="commands">
138 <title>Command Explanations</title>
139
140 <para><command>rm -v /lib/libcrack.so; ln -v -sf ...
141 /usr/lib/libcrack.so</command>: These two commands move the
142 <filename class='symlink'>libcrack.so</filename>
143 symlink from <filename class='directory'>/lib</filename> to
144 <filename class='directory'>/usr/lib</filename>.</para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directory</segtitle>
155
156 <seglistitem>
157 <seg>create-cracklib-dict, mkdict, and packer</seg>
158 <seg>libcrack.so and optionally, libcrack_krb5.so</seg>
159 <seg>/usr/share/dict</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="libcrack">
169 <term><filename class='libraryfile'>libcrack.so</filename></term>
170 <listitem>
171 <para>provide a fast dictionary lookup method for strong
172 password enforcement.</para>
173 <indexterm zone="cracklib libcrack">
174 <primary sortas="c-libcrack">libcrack.so</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 </variablelist>
180
181 </sect2>
182
183</sect1>
Note: See TracBrowser for help on using the repository browser.