Ignore:
Timestamp:
07/31/2006 05:47:43 PM (18 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a15464d
Parents:
cec2c5a8
Message:

Upgrade to shadow-4.0.17

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7736 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/shadow.xml

    rcec2c5a8 r040ba8e  
    4646    <para>Prepare Shadow for compilation:</para>
    4747
    48 <screen><userinput>./configure --libdir=/lib --enable-shared --without-selinux</userinput></screen>
     48<screen><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared --without-selinux</userinput></screen>
    4949
    5050    <variablelist>
     
    8888convert-mans UTF-8 KOI8-R man/ru/*.?
    8989convert-mans UTF-8 ISO-8859-9 man/tr/*.?</userinput></screen>
    90 
    91     <para>Compile the package:</para>
    92 
    93 <screen><userinput>make</userinput></screen>
    94 
    95     <para>This package does not come with a test suite.</para>
    96 
    97     <para>Install the package:</para>
    98 
    99 <screen><userinput>make install</userinput></screen>
    100 
    101     <para id="shadow-limits-login_access">Shadow uses two files to configure
    102     authentication settings for the system. Install these two configuration
    103     files:</para>
    104 
    105     <indexterm zone="shadow-limits-login_access">
    106       <primary sortas="e-/etc/limits">/etc/limits</primary>
    107     </indexterm>
    108 
    109     <indexterm zone="shadow-limits-login_access">
    110       <primary sortas="e-/etc/login.access">/etc/login.access</primary>
    111     </indexterm>
    112 
    113 <screen><userinput>cp -v etc/{limits,login.access} /etc</userinput></screen>
    11490
    11591    <para id="shadow-login_defs">Instead of using the default
     
    11995    obsolete <filename class="directory">/var/spool/mail</filename> location
    12096    for user mailboxes that Shadow uses by default to the <filename
    121     class="directory">/var/mail</filename> location used currently. Both of
    122     these can be accomplished by changing the relevant configuration file
    123     while copying it to its destination:</para>
    124 
    125     <indexterm zone="shadow-login_defs">
    126       <primary sortas="e-/etc/login.defs">/etc/login.defs</primary>
    127     </indexterm>
    128 
    129 <screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
    130     -e 's@/var/spool/mail@/var/mail@' \
    131     etc/login.defs &gt; /etc/login.defs</userinput></screen>
     97    class="directory">/var/mail</filename> location used currently.</para>
     98
     99<screen><userinput>sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
     100    -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen>
    132101
    133102    <note>
    134103      <para>If you built Shadow with Cracklib support, run the following:</para>
    135104
    136 <screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</userinput></screen>
     105<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
    137106    </note>
     107
     108    <para>Compile the package:</para>
     109
     110<screen><userinput>make</userinput></screen>
     111
     112    <para>This package does not come with a test suite.</para>
     113
     114    <para>Install the package:</para>
     115
     116<screen><userinput>make install</userinput></screen>
    138117
    139118    <para>Move a misplaced program to its proper location:</para>
     
    146125rm -v /lib/libshadow.so
    147126ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
    148 
    149     <para>The <parameter>-D</parameter> option of the
    150     <command>useradd</command> program requires the <filename
    151     class="directory">/etc/default</filename> directory for it to work
    152     properly:</para>
    153 
    154 <screen><userinput>mkdir -v /etc/default</userinput></screen>
    155127
    156128  </sect2>
Note: See TracChangeset for help on using the changeset viewer.