Changeset d0a6c4c for chapter06/shadowpwd.xml
- Timestamp:
- 01/20/2004 05:59:05 AM (21 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/shadowpwd.xml
rfae442d5 rd0a6c4c 28 28 <screen><userinput>touch /usr/bin/passwd</userinput></screen> 29 29 30 <para>The current Shadow suite has a problem that causes the31 <userinput>newgrp</userinput> command to fail. The following patch (also32 appearing in Shadow's CVS code) fixes this problem:</para>33 34 <screen><userinput>patch -Np1 -i ../&shadow-patch;</userinput></screen>35 36 30 <para>Now prepare Shadow for compilation:</para> 37 31 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 35 working:</para> 36 37 <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen> 39 38 40 39 <para>Compile the package:</para> … … 66 65 to cut-and-paste it rather than try and type it all in.</para></note> 67 66 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> 71 68 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 70 mv /bin/vigr /usr/sbin</userinput></screen> 82 71 83 72 <para>And move Shadow's dynamic libraries to a more appropriate location:</para> … … 96 85 <screen><userinput>mkdir /etc/default</userinput></screen> 97 86 98 <para>Coreutils has already installed a <userinput>groups</userinput> program99 in <filename>/usr/bin</filename>. If you wish, you can remove the one 100 installed byShadow:</para>87 <para>Coreutils has already installed a better <userinput>groups</userinput> 88 program in <filename>/usr/bin</filename>. Remove the one installed by 89 Shadow:</para> 101 90 102 91 <screen><userinput>rm /bin/groups</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.