diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/shadow.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 7a232c01c..cd7ec1c65 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -72,19 +72,16 @@ sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ <para>Move some misplaced symlinks/programs to their proper locations:</para> -<screen><userinput>mv /bin/sg /usr/bin -mv /bin/vigr /usr/sbin -mv /usr/bin/passwd /bin</userinput></screen> +<screen><userinput>mv /usr/bin/passwd /bin</userinput></screen> <para>And move Shadow's dynamic libraries to a more appropriate location:</para> -<screen><userinput>mv /usr/lib/lib{shadow,misc}.so.0* /lib</userinput></screen> +<screen><userinput>mv /usr/lib/libshadow.so.0* /lib</userinput></screen> <para>As some packages expect to find the just-moved libraries in <filename class="directory">/usr/lib</filename>, create the following symlinks:</para> -<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so -ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen> +<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> <para>The <parameter>-D</parameter> option of the <command>useradd</command> program requires this directory for it to work properly:</para> |