aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadow.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r--chapter06/shadow.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 238de4345..ae11d8c31 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -53,13 +53,10 @@ sed -i '/groups/d' man/Makefile</userinput></screen>
<screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
-<para>Move a library:</para>
+<para>Move the library:</para>
-<screen><userinput>mv /lib/libshadow.*a /usr/lib</userinput></screen>
-
-<para>Create the following symlinks:</para>
-
-<screen><userinput>rm /lib/libshadow.so
+<screen><userinput>mv /lib/libshadow.*a /usr/lib
+rm /lib/libshadow.so
ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
<para>Create a dir:</para>