aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 34a386534..361b90e94 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -26,6 +26,11 @@
<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
+<para>Remove the installation of the groups program, and it's man page:</para>
+
+<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
+sed -i '/groups/d' man/Makefile</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
@@ -61,10 +66,6 @@ ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
<screen><userinput>mkdir /etc/default</userinput></screen>
-<para>Remove a program:</para>
-
-<screen><userinput>rm /bin/groups</userinput></screen>
-
</sect2>