Ignore:
Timestamp:
01/20/2004 05:59:05 AM (21 years ago)
Author:
Greg Schafer <greg@…>
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, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 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, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e5888f5
Parents:
fae442d5
Message:

Upgraded to Glibc-2.3.3, Kbd-1.12, Perl-5.8.3 and Shadow-4.0.4.1.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/shadowpwd.xml

    rfae442d5 rd0a6c4c  
    2828<screen><userinput>touch /usr/bin/passwd</userinput></screen>
    2929
    30 <para>The current Shadow suite has a problem that causes the
    31 <userinput>newgrp</userinput> command to fail.  The following patch (also
    32 appearing in Shadow's CVS code) fixes this problem:</para>
    33 
    34 <screen><userinput>patch -Np1 -i ../&shadow-patch;</userinput></screen>
    35 
    3630<para>Now prepare Shadow for compilation:</para>
    3731
    38 <screen><userinput>./configure --prefix=/usr --libdir=/usr/lib --enable-shared</userinput></screen>
     32<screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen>
     33
     34<para>Work around a problem that prevents Shadow's internationalization from
     35working:</para>
     36
     37<screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen>
    3938
    4039<para>Compile the package:</para>
     
    6665to cut-and-paste it rather than try and type it all in.</para></note>
    6766
    68 <para>According to the man page of <userinput>vipw</userinput>, a
    69 <userinput>vigr</userinput> program should exist too. Since the installation
    70 procedure doesn't create this program, create a symlink manually:</para>
     67<para>Move some misplaced symlinks to their proper locations:</para>
    7168
    72 <screen><userinput>ln -s vipw /usr/sbin/vigr</userinput></screen>
    73 
    74 <para>As the <filename>/bin/vipw</filename> symlink is redundant (and even
    75 pointing to a non-existent file), remove it:</para>
    76 
    77 <screen><userinput>rm /bin/vipw</userinput></screen>
    78 
    79 <para>Now move the <userinput>sg</userinput> program to its proper place:</para>
    80 
    81 <screen><userinput>mv /bin/sg /usr/bin</userinput></screen>
     69<screen><userinput>mv /bin/sg /usr/bin
     70mv /bin/vigr /usr/sbin</userinput></screen>
    8271
    8372<para>And move Shadow's dynamic libraries to a more appropriate location:</para>
     
    9685<screen><userinput>mkdir /etc/default</userinput></screen>
    9786
    98 <para>Coreutils has already installed a <userinput>groups</userinput> program
    99 in <filename>/usr/bin</filename>. If you wish, you can remove the one
    100 installed by Shadow:</para>
     87<para>Coreutils has already installed a better <userinput>groups</userinput>
     88program in <filename>/usr/bin</filename>. Remove the one installed by
     89Shadow:</para>
    10190
    10291<screen><userinput>rm /bin/groups</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.