diff --git a/postlfs/security/cracklib.xml b/postlfs/security/cracklib.xml index 76cdb67acd..97f6f88e5a 100644 --- a/postlfs/security/cracklib.xml +++ b/postlfs/security/cracklib.xml @@ -16,141 +16,168 @@ ]> - -$LastChangedBy$ -$Date$ - - -cracklib-&cracklib-version; - -Cracklib + - -Introduction to <application>cracklib</application> + + $LastChangedBy$ + $Date$ + -The cracklib package contains a library used -to enforce strong passwords by comparing user selected passwords to words in a -chosen wordlist. + Cracklib-&cracklib-version; -Package information - -Download (HTTP): -Download (FTP): -Download MD5 sum (HTTP): -&cracklib-http-md5sum; -Download MD5 sum (FTP): -&cracklib-ftp-md5sum; -Download size: &cracklib-size; -Estimated disk space required (with cracklib wordlist): -&cracklib-buildsize; -Estimated build time: -&cracklib-time; - + + Cracklib + -Additional downloads - -Required Patch: -Recommended Patch: - - + + Introduction to Cracklib -You will also need to download a wordlist for use with -cracklib. There are two wordlists to choose from at -the following location. Use the cracklib word list for -good security, or opt for the allwords word list for -lightweight machines short on RAM. You can of course choose -any other word list that you have at your disposal. + The cracklib package contains a + library used to enforce strong passwords by comparing user selected + passwords to words in a chosen wordlist. - -cracklib (&crackdict-size;) at -allwords (&alldict-size;) at - + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum (HTTP): &cracklib-http-md5sum; + + + Download MD5 sum (FTP): &cracklib-ftp-md5sum; + + + Download size: &cracklib-size; + + + Estimated disk space required: &cracklib-buildsize; + + + Estimated build time: &cracklib-time; + + - + Additional Downloads + + + Required Patch: + + + Recommended Patch: + + - + You will also need to download a wordlist for use with + cracklib. There are two wordlists + to choose from at the following location. Use the + cracklib word list for good security, or + opt for the allwords word list for + lightweight machines short on RAM. You can of course choose + any other word list that you have at your disposal. - -Installation of <application>cracklib</application> + + + cracklib (&crackdict-size;) at + + + allwords (&alldict-size;) at + + -First, as the root user, install the chosen word list for -cracklib: + -install -v -d -m755 /usr/share/dict && + + Installation of Cracklib + + First, as the root + user, install the chosen word list for + cracklib: + +install -v -d -m755 /usr/share/dict && install -v -m644 ../[wordlist] /usr/share/dict && ln -v -sf [wordlist] /usr/share/dict/words && -echo $(hostname) >> /usr/share/dict/extra.words +echo $(hostname) >> /usr/share/dict/extra.words -The wordlist is linked to /usr/share/dict/words as -historically, words is the primary wordlist in the -/usr/share/dict directory. Additionally, -the value of hostname is echoed to a file called -extra.words. This extra file is intended to be a site -specific list which includes easy to guess passwords such as company or -department names, user's names, product names, computer names, domain names, -etc. + The wordlist is linked to /usr/share/dict/words + as historically, words is the primary wordlist in the + /usr/share/dict directory. + Additionally, the value of hostname is echoed to a file + called extra.words. This extra file is intended to be + a site specific list which includes easy to guess passwords such as company + or department names, user's names, product names, computer names, domain + names, etc. -Now apply the BLFS patch: + Now apply the BLFS patch: -patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch +patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch -If necessary, apply the Heimdal patch: + If necessary, apply the Heimdal + patch: -cp -R cracklib cracklib_krb5 && -patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch +cp -R cracklib cracklib_krb5 && +patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch -Finally, as the root user, build and install the package: -make install && + Finally, as the root + user, build and install the package: + +make install && rm -v /lib/libcrack.so && -ln -v -sf ../../lib/libcrack.so.2.7 /usr/lib/libcrack.so +ln -v -sf ../../lib/libcrack.so.2.7 /usr/lib/libcrack.so - + - -Command explanations + + Command Explanations -rm -v /lib/libcrack.so; ln -v -sf ... -/usr/lib/libcrack.so: These two commands move the -libcrack.so -symlink from /lib to -/usr/lib. + rm -v /lib/libcrack.so; ln -v -sf ... + /usr/lib/libcrack.so: These two commands move the + libcrack.so + symlink from /lib to + /usr/lib. - + - -Contents + + Contents - -Installed Programs -Installed Libraries -Installed Directory - -create-cracklib-dict, mkdict and packer -libcrack.so and optionally, libcrack_krb5.so -/usr/share/dict - - + + Installed Programs + Installed Libraries + Installed Directory - -Short Descriptions - + + create-cracklib-dict, mkdict, and packer + libcrack.so and optionally, libcrack_krb5.so + /usr/share/dict + + - -libcrack.so - libraries provide a fast dictionary lookup method for strong -password enforcement. - -libcrack.so - - - + + Short Descriptions + + - + + libcrack.so + + provide a fast dictionary lookup method for strong + password enforcement. + + libcrack.so + + + + + + +