Changeset 39975e9


Ignore:
Timestamp:
07/21/2004 06:15:37 AM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
620a57e
Parents:
8abd5653
Message:

Fixed Shadow instructions to build using GCC-3.4.x, added moving /usr/bin/passwd to /bin and added some cracklib notes

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r8abd5653 r39975e9  
    1919<itemizedlist>
    2020
     21<listitem><para>July 21st, 2004 [randy]: Fixed Shadow instructions: build
     22using GCC-3.4.x, moving /usr/bin/passwd and added cracklib notes.
     23</para></listitem>
     24
    2125<listitem><para>July 21st, 2004 [randy]: Added sgmltools-lite to Linux-PAM
    2226optional dependencies.</para></listitem>
  • postlfs/security/shadow.xml

    r8abd5653 r39975e9  
    6565    --enable-shared --with-libpam --without-libcrack &amp;&amp;
    6666echo '#define HAVE_SETLOCALE 1' >> config.h &amp;&amp;
     67sed -i '/extern char/d' libmisc/xmalloc.c &amp;&amp;
    6768make &amp;&amp;
    6869make install &amp;&amp;
    6970mv /bin/sg /usr/bin &amp;&amp;
    7071mv /bin/vigr /usr/sbin &amp;&amp;
     72mv /usr/bin/passwd /bin &amp;&amp;
    7173rm /bin/groups &amp;&amp;
    7274mv /usr/lib/lib{misc,shadow}.so.0* /lib &amp;&amp;
     
    8486<application>Linux-<acronym>PAM</acronym></application> already contains
    8587<filename class='libraryfile'>libcrack</filename>.</para>
     88
     89<para><command>sed -i '/extern char/d' libmisc/xmalloc.c</command>: This
     90fixes a compilation problem when using <application>GCC</application>-3.4.x.
     91</para>
    8692
    8793<!--  Leftover from older instructions????
     
    179185
    180186# End /etc/pam.d/chage
     187<command>EOF</command></userinput></screen>
     188
     189<note><para>If you've installed <application>cracklib</application>, replace
     190<filename>/etc/pam.d/passwd</filename> with the following:</para></note>
     191<screen><userinput><command>cat &gt; /etc/pam.d/passwd &lt;&lt; "EOF"</command>
     192# Begin /etc/pam.d/passwd
     193
     194password    required    pam_cracklib.so     \
     195    retry=3  difok=8  minlen=5  dcredit=3  ocredit=3  ucredit=2  lcredit=2
     196password    required    pam_unix.so     md5 shadow use_authtok
     197
     198# End /etc/pam.d/passwd
    181199<command>EOF</command></userinput></screen>
    182200
     
    215233
    216234<para>This stops <command>login</command> from performing these functions, as
    217 they will now be performed by <acronym>PAM</acronym> modules.</para>
     235they will now be performed by <acronym>PAM</acronym> modules. Additionally,
     236add a '#' to the beginning of the following lines if you've installed
     237<application>cracklib</application>:</para>
     238<screen>OBSCURE_CHECKS_ENAB
     239CRACKLIB_DICTPATH
     240PASS_CHANGE_TRIES
     241PASS_ALWAYS_WARN</screen>
    218242
    219243</sect3>
Note: See TracChangeset for help on using the changeset viewer.