diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-20 05:59:05 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2004-01-20 05:59:05 +0000 |
commit | d0a6c4c212b7204aef7ee577cf897d6c0c792520 (patch) | |
tree | 7fbb5f981f0583f923bbb53c9f98f6e1d239b954 /chapter06/shadowpwd.xml | |
parent | fae442d5f04416d382f6d14e8d5fefe7cf23bbbb (diff) |
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
Diffstat (limited to 'chapter06/shadowpwd.xml')
-rw-r--r-- | chapter06/shadowpwd.xml | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/chapter06/shadowpwd.xml b/chapter06/shadowpwd.xml index 89cfd5d39..a89df4002 100644 --- a/chapter06/shadowpwd.xml +++ b/chapter06/shadowpwd.xml @@ -27,15 +27,14 @@ the package incorrectly assumes it is going to be located at <screen><userinput>touch /usr/bin/passwd</userinput></screen> -<para>The current Shadow suite has a problem that causes the -<userinput>newgrp</userinput> command to fail. The following patch (also -appearing in Shadow's CVS code) fixes this problem:</para> +<para>Now prepare Shadow for compilation:</para> -<screen><userinput>patch -Np1 -i ../&shadow-patch;</userinput></screen> +<screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen> -<para>Now prepare Shadow for compilation:</para> +<para>Work around a problem that prevents Shadow's internationalization from +working:</para> -<screen><userinput>./configure --prefix=/usr --libdir=/usr/lib --enable-shared</userinput></screen> +<screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen> <para>Compile the package:</para> @@ -65,20 +64,10 @@ relevant configuration file while copying it to its destination:</para> <note><para>Be extra careful when typing all of the above. It is probably safer to cut-and-paste it rather than try and type it all in.</para></note> -<para>According to the man page of <userinput>vipw</userinput>, a -<userinput>vigr</userinput> program should exist too. Since the installation -procedure doesn't create this program, create a symlink manually:</para> - -<screen><userinput>ln -s vipw /usr/sbin/vigr</userinput></screen> - -<para>As the <filename>/bin/vipw</filename> symlink is redundant (and even -pointing to a non-existent file), remove it:</para> - -<screen><userinput>rm /bin/vipw</userinput></screen> - -<para>Now move the <userinput>sg</userinput> program to its proper place:</para> +<para>Move some misplaced symlinks to their proper locations:</para> -<screen><userinput>mv /bin/sg /usr/bin</userinput></screen> +<screen><userinput>mv /bin/sg /usr/bin +mv /bin/vigr /usr/sbin</userinput></screen> <para>And move Shadow's dynamic libraries to a more appropriate location:</para> @@ -95,9 +84,9 @@ directory for it to work properly:</para> <screen><userinput>mkdir /etc/default</userinput></screen> -<para>Coreutils has already installed a <userinput>groups</userinput> program -in <filename>/usr/bin</filename>. If you wish, you can remove the one -installed by Shadow:</para> +<para>Coreutils has already installed a better <userinput>groups</userinput> +program in <filename>/usr/bin</filename>. Remove the one installed by +Shadow:</para> <screen><userinput>rm /bin/groups</userinput></screen> |