Changeset 9623b6e8


Ignore:
Timestamp:
05/13/2005 07:05:44 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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:
1cc0752
Parents:
152fb77
Message:

Tagged cracklib.xml

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/cracklib.xml

    r152fb77 r9623b6e8  
    1717
    1818<sect1 id="cracklib" xreflabel="cracklib-&cracklib-version;">
    19 <sect1info>
    20 <othername>$LastChangedBy$</othername>
    21 <date>$Date$</date>
    22 </sect1info>
    23 <?dbhtml filename="cracklib.html"?>
    24 <title>cracklib-&cracklib-version;</title>
    25 <indexterm zone="cracklib">
    26 <primary sortas="a-Cracklib">Cracklib</primary></indexterm>
     19  <?dbhtml filename="cracklib.html"?>
    2720
    28 <sect2>
    29 <title>Introduction to <application>cracklib</application></title>
     21  <sect1info>
     22    <othername>$LastChangedBy$</othername>
     23    <date>$Date$</date>
     24  </sect1info>
    3025
    31 <para>The <application>cracklib</application> package contains a library used
    32 to enforce strong passwords by comparing user selected passwords to words in a
    33 chosen wordlist.</para>
     26  <title>Cracklib-&cracklib-version;</title>
    3427
    35 <sect3><title>Package information</title>
    36 <itemizedlist spacing='compact'>
    37 <listitem><para>Download (HTTP): <ulink
    38 url="&cracklib-download-http;"/></para></listitem>
    39 <listitem><para>Download (FTP): <ulink
    40 url="&cracklib-download-ftp;"/></para></listitem>
    41 <listitem><para>Download MD5 sum (HTTP):
    42 &cracklib-http-md5sum;</para></listitem>
    43 <listitem><para>Download MD5 sum (FTP):
    44 &cracklib-ftp-md5sum;</para></listitem>
    45 <listitem><para>Download size: &cracklib-size;</para></listitem>
    46 <listitem><para>Estimated disk space required (with cracklib wordlist):
    47 &cracklib-buildsize;</para></listitem>
    48 <listitem><para>Estimated build time:
    49 &cracklib-time;</para></listitem></itemizedlist>
    50 </sect3>
     28  <indexterm zone="cracklib">
     29    <primary sortas="a-Cracklib">Cracklib</primary>
     30  </indexterm>
    5131
    52 <sect3><title>Additional downloads</title>
    53 <itemizedlist spacing='compact'>
    54 <listitem><para>Required Patch: <ulink
    55 url="&patch-root;/cracklib,&cracklib-version;-blfs-1.patch"/></para></listitem>
    56 <listitem><para>Recommended Patch: <ulink
    57 url="&patch-root;/cracklib,&cracklib-version;-heimdal-1.patch"/></para>
    58 </listitem>
    59 </itemizedlist>
     32  <sect2 role="package">
     33    <title>Introduction to Cracklib</title>
    6034
    61 <para>You will also need to download a wordlist for use with
    62 <application>cracklib</application>. There are two wordlists to choose from at
    63 the following location.  Use the <filename>cracklib</filename> word list for
    64 good security, or opt for the <filename>allwords</filename> word list for
    65 lightweight machines short on <acronym>RAM</acronym>. You can of course choose
    66 any other word list that you have at your disposal.</para>
     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>
    6738
    68 <itemizedlist spacing='compact'>
    69 <listitem><para>cracklib (&crackdict-size;) at <ulink
    70 url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
    71 <listitem><para>allwords (&alldict-size;) at <ulink
    72 url="http://www.cotse.com/tools/wordlists.htm"/></para></listitem>
    73 </itemizedlist>
     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>
    7463
    75 </sect3>
     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>
    7675
    77 </sect2>
     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>
    7883
    79 <sect2>
    80 <title>Installation of <application>cracklib</application></title>
     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>
    8194
    82 <para>First, as the root user, install the chosen word list for
    83 <application>cracklib</application>:</para>
     95  </sect2>
    8496
    85 <screen><userinput role='root'><command>install -v -d -m755 /usr/share/dict &amp;&amp;
     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;
    86105install -v -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &amp;&amp;
    87106ln -v -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &amp;&amp;
    88 echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
     107echo $(hostname) >> /usr/share/dict/extra.words</userinput></screen>
    89108
    90 <para>The wordlist is linked to <filename>/usr/share/dict/words</filename> as
    91 historically, <filename>words</filename> is the primary wordlist in the
    92 <filename class="directory">/usr/share/dict</filename> directory. Additionally,
    93 the value of <command>hostname</command> is echoed to a file called
    94 <filename>extra.words</filename>. This extra file is intended to be a site
    95 specific list which includes easy to guess passwords such as company or
    96 department names, user's names, product names, computer names, domain names,
    97 etc.</para>
     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>
    98117
    99 <para>Now apply the <acronym>BLFS</acronym> patch:</para>
     118    <para>Now apply the BLFS patch:</para>
    100119
    101 <screen><userinput><command>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</command></userinput></screen>
     120<screen><userinput>patch -Np1 -i ../cracklib,&cracklib-version;-blfs-1.patch</userinput></screen>
    102121
    103 <para>If necessary, apply the <application>Heimdal</application> patch:</para>
     122    <para>If necessary, apply the <application>Heimdal</application>
     123    patch:</para>
    104124
    105 <screen><userinput><command>cp -R cracklib cracklib_krb5 &amp;&amp;
    106 patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
     125<screen><userinput>cp -R cracklib cracklib_krb5 &amp;&amp;
     126patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</userinput></screen>
    107127
    108 <para>Finally, as the root user, build and install the package:</para>
    109 <screen><userinput role='root'><command>make install &amp;&amp;
     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;
    110132rm -v /lib/libcrack.so &amp;&amp;
    111 ln -v -sf ../../lib/libcrack.so.2.7 /usr/lib/libcrack.so</command></userinput></screen>
     133ln -v -sf ../../lib/libcrack.so.2.7 /usr/lib/libcrack.so</userinput></screen>
    112134
    113 </sect2>
     135  </sect2>
    114136
    115 <sect2>
    116 <title>Command explanations</title>
     137  <sect2 role="commands">
     138    <title>Command Explanations</title>
    117139
    118 <para><command>rm -v /lib/libcrack.so; ln -v -sf ...
    119 /usr/lib/libcrack.so</command>: These two commands move the
    120 <filename class='symlink'>libcrack.so</filename>
    121 symlink from <filename class='directory'>/lib</filename> to
    122 <filename class='directory'>/usr/lib</filename>.</para>
     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>
    123145
    124 </sect2>
     146  </sect2>
    125147
    126 <sect2>
    127 <title>Contents</title>
     148  <sect2 role="content">
     149    <title>Contents</title>
    128150
    129 <segmentedlist>
    130 <segtitle>Installed Programs</segtitle>
    131 <segtitle>Installed Libraries</segtitle>
    132 <segtitle>Installed Directory</segtitle>
    133 <seglistitem>
    134 <seg>create-cracklib-dict, mkdict and packer</seg>
    135 <seg>libcrack.so and optionally, libcrack_krb5.so</seg>
    136 <seg>/usr/share/dict</seg>
    137 </seglistitem>
    138 </segmentedlist>
     151    <segmentedlist>
     152      <segtitle>Installed Programs</segtitle>
     153      <segtitle>Installed Libraries</segtitle>
     154      <segtitle>Installed Directory</segtitle>
    139155
    140 <variablelist>
    141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    142 <?dbfo list-presentation="list"?>
     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>
    143162
    144 <varlistentry id="libcrack">
    145 <term><filename class='libraryfile'>libcrack.so</filename></term>
    146 <listitem><para> libraries provide a fast dictionary lookup method for strong
    147 password enforcement.</para>
    148 <indexterm zone="cracklib libcrack">
    149 <primary sortas="c-libcrack">libcrack.so</primary></indexterm>
    150 </listitem>
    151 </varlistentry>
    152 </variablelist>
     163    <variablelist>
     164      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     165      <?dbfo list-presentation="list"?>
     166      <?dbhtml list-presentation="table"?>
    153167
    154 </sect2>
     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>
    155182
    156183</sect1>
Note: See TracChangeset for help on using the changeset viewer.