Changeset 8b1b2dc7
- Timestamp:
- 07/24/2005 10:02:41 PM (19 years ago)
- Branches:
- 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
- Children:
- b26339be
- Parents:
- 06d301f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r06d301f r8b1b2dc7 3 3 <!ENTITY year "2005"> 4 4 <!ENTITY version "svn-&year;&month;&day;"> 5 <!ENTITY releasedate "July &day; rd, &year;">5 <!ENTITY releasedate "July &day;th, &year;"> 6 6 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 7 7 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> … … 31 31 <!-- Chapter 4 --> 32 32 <!ENTITY openssl-version "0.9.7g"> 33 <!ENTITY cracklib-version "2. 7">33 <!ENTITY cracklib-version "2.8.3"> 34 34 <!ENTITY Linux_PAM-version "0.78"> 35 35 <!ENTITY shadow-version "4.0.9"> -
introduction/welcome/changelog.xml
r06d301f r8b1b2dc7 25 25 <itemizedlist> 26 26 27 <listitem> 28 <para>July 24th 2005 [randy]: Updated to CrackLib-2.8.3.</para> 29 </listitem> 30 27 31 <listitem> 28 32 <para>July 23rd 2005 [djensen]: Added security patch to Mpg123.</para> -
postlfs/security/cracklib.xml
r06d301f r8b1b2dc7 5 5 %general-entities; 6 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 crack lib-time "0.05 SBU">14 <!ENTITY crackdict-size "15.6MB">15 <!ENTITY alldict-size "466 KB">7 <!ENTITY cracklib-download-http "http://prdownloads.sourceforge.net/cracklib/cracklib-&cracklib-version;.tar.gz"> 8 <!ENTITY cracklib-download-ftp " "> 9 <!ENTITY cracklib-http-md5sum "13f82f75b892cbd0ba7cb9069e307006"> 10 <!ENTITY cracklib-size "480 KB"> 11 <!ENTITY cracklib-buildsize "27.6 MB"> 12 <!ENTITY cracklib-time "0.1 SBU"> 13 <!ENTITY crackdict-download "http://prdownloads.sourceforge.net/cracklib/cracklib-words.gz"> 14 <!ENTITY crackdict-size "4.4 MB"> 15 <!ENTITY crackdict-md5sum "d18e670e5df560a8745e1b4dede8f84f"> 16 16 ]> 17 17 18 <sect1 id="cracklib" xreflabel=" cracklib-&cracklib-version;">18 <sect1 id="cracklib" xreflabel="CrackLib-&cracklib-version;"> 19 19 <?dbhtml filename="cracklib.html"?> 20 20 … … 24 24 </sect1info> 25 25 26 <title>Crack lib-&cracklib-version;</title>26 <title>CrackLib-&cracklib-version;</title> 27 27 28 28 <indexterm zone="cracklib"> 29 <primary sortas="a-Crack lib">Cracklib</primary>29 <primary sortas="a-CrackLib">CrackLib</primary> 30 30 </indexterm> 31 31 32 32 <sect2 role="package"> 33 <title>Introduction to Crack lib</title>34 35 <para>The <application> cracklib</application> package contains a33 <title>Introduction to CrackLib</title> 34 35 <para>The <application>CrackLib</application> package contains a 36 36 library used to enforce strong passwords by comparing user selected 37 passwords to words in a chosen wordlist.</para>37 passwords to words in chosen word lists.</para> 38 38 39 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 46 46 </listitem> 47 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> 48 <para>Download MD5 sum: &cracklib-http-md5sum;</para> 52 49 </listitem> 53 50 <listitem> … … 65 62 <itemizedlist spacing='compact'> 66 63 <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> 64 <para>Recommended word list (size: &crackdict-size;; 65 md5sum: &crackdict-md5sum;): <ulink url="&crackdict-download;"/></para> 66 </listitem> 67 <listitem> 68 <para>Required patch to create a library used with the Heimdal 69 Kerberos 5 package: <ulink 70 url="&patch-root;/cracklib-&cracklib-version;-heimdal-1.patch"/></para> 73 71 </listitem> 74 72 </itemizedlist> 75 73 76 < para>You will also need to download a wordlist for use with74 <!-- <para>You will also need to download a wordlist for use with 77 75 <application>cracklib</application>. There are two wordlists 78 76 to choose from at the following location. Use the … … 80 78 opt for the <filename>allwords</filename> word list for 81 79 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> 80 any other word list that you have at your disposal.</para> --> 94 81 95 82 </sect2> 96 83 97 84 <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 && 105 install -v -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict && 106 ln -v -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words && 107 echo $(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 85 <title>Installation of CrackLib</title> 86 87 <para>If desired, apply the <application>Heimdal</application> patch 88 (note that with this patch the original library is not affected; this patch 89 only creates an additional library used by the 90 <application>Heimdal</application> password-checking routines):</para> 91 92 <screen><userinput>patch -Np1 -i ../cracklib-&cracklib-version;-heimdal-1.patch</userinput></screen> 93 94 <para>Install <application>CrackLib</application> by running the following 95 commands:</para> 96 97 <screen><userinput>./configure --prefix=/usr --datadir=/lib && 98 make</userinput></screen> 99 100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 101 102 <screen role="root"><userinput>make install && 103 mv -v /usr/lib/libcrack.so.2* /lib && 104 ln -v -sf ../../lib/libcrack.so.2.8.0 /usr/lib/libcrack.so && 105 install -v -m644 -D ../cracklib-words.gz \ 106 /usr/share/dict/cracklib-words.gz && 107 gunzip -v /usr/share/dict/cracklib-words.gz && 108 ln -v -s cracklib-words /usr/share/dict/words && 109 echo $(hostname) >>/usr/share/dict/cracklib-extra-words && 110 create-cracklib-dict /usr/share/dict/cracklib-words \ 111 /usr/share/dict/cracklib-extra-words</userinput></screen> 112 113 <para>If desired, check the proper operation of the library as an 114 unprivileged user using the tests included with the package:</para> 115 116 <screen><userinput>make test</userinput></screen> 117 118 </sect2> 119 120 <sect2 role="commands"> 121 <title>Command Explanations</title> 122 123 <para><parameter>--datadir=/lib</parameter>: This parameter forces the 124 installation of the <application>CrackLib</application> dictionary to the 125 <filename class='directory'>/lib</filename> hierarchy.</para> 126 127 <para><command>mv -v /usr/lib/libcrack.so.2* /lib</command> and 128 <command>ln -v -sf ../../lib/libcrack.so.2.8.0 ...</command>: These two 129 commands move the <filename class='libraryfile'>libcrack.so.2.8.0</filename> 130 library and associated symlink from 131 <filename class='directory'>/usr/lib</filename> to 132 <filename class='directory'>/lib</filename>, then recreates the 133 <filename class='symlink'>/usr/lib/libcrack.so</filename> symlink to point 134 to the relocated file.</para> 135 136 <para><command>install -v -m644 -D ...</command>: This command creates the 137 <filename class='directory'>/usr/share/dict</filename> directory (if it 138 doesn't already exist) and installs the compressed word list there.</para> 139 140 <para><command>ln -v -s cracklib-words /usr/share/dict/words</command>: The 141 word list is linked to <filename>/usr/share/dict/words</filename> as 142 historically, <filename>words</filename> is the primary word list in the 143 <filename class="directory">/usr/share/dict</filename> directory. Omit this 144 command if you already have a <filename>/usr/share/dict/words</filename> 145 file installed on your system.</para> 146 147 <para><command>echo $(hostname) >>...</command>: The value of 148 <command>hostname</command> is echoed to a file called 149 <filename>cracklib-extra-words</filename>. This extra file is intended to be 114 150 a site specific list which includes easy to guess passwords such as company 115 151 or department names, user's names, product names, computer names, domain 116 152 names, etc.</para> 117 153 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 && 126 patch -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 && 132 rm -v /lib/libcrack.so && 133 ln -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> 154 <para><command>create-cracklib-dict ...</command>: This command creates the 155 <application>CrackLib</application> dictionary from the word lists.</para> 145 156 146 157 </sect2> … … 155 166 156 167 <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> 168 <seg>cracklib-check, cracklib-format, cracklib-packer, 169 cracklib-unpacker and create-cracklib-dict</seg> 170 <seg>libcrack.[so,a] and optionally, libcrack_heimdal.[so,a]</seg> 171 <seg>/lib/cracklib and /usr/share/dict</seg> 160 172 </seglistitem> 161 173 </segmentedlist> … … 166 178 <?dbhtml list-presentation="table"?> 167 179 168 <varlistentry id=" libcrack">169 <term><filename class='libraryfile'>libcrack.so</filename></term>180 <varlistentry id="create-cracklib-dict"> 181 <term><filename>create-cracklib-dict</filename></term> 170 182 <listitem> 171 <para> provide a fast dictionary lookup method for strong172 password enforcement.</para>173 <indexterm zone="cracklib libcrack">174 <primary sortas=" c-libcrack">libcrack.so</primary>183 <para>is used to create the <application>CrackLib</application> 184 dictionary from the given word list(s).</para> 185 <indexterm zone="cracklib create-cracklib-dict"> 186 <primary sortas="b-create-cracklib-dict">create-cracklib-dict</primary> 175 187 </indexterm> 176 188 </listitem> 177 189 </varlistentry> 178 190 191 <varlistentry id="libcrack"> 192 <term><filename class='libraryfile'>libcrack.[so,a]</filename></term> 193 <listitem> 194 <para>provides a fast dictionary lookup method for strong 195 password enforcement.</para> 196 <indexterm zone="cracklib libcrack"> 197 <primary sortas="c-libcrack">libcrack.[so,a]</primary> 198 </indexterm> 199 </listitem> 200 </varlistentry> 201 179 202 </variablelist> 180 203
Note:
See TracChangeset
for help on using the changeset viewer.