aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadow.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r--chapter06/shadow.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 2415453ee..539fa90b5 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -36,6 +36,11 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the
<command>configure</command> command below.</para></note>
+<para>Apply a patch to fix a number of incorrect assumptions in Shadow's
+<command>configure</command> script:</para>
+
+<screen><userinput>patch -Np1 -i ../&shadow-configure-patch;</userinput></screen>
+
<para>Prepare Shadow for compilation:</para>
<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
@@ -82,7 +87,7 @@ the <command>sed</command> given below:</para>
<screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
-e 's@/var/spool/mail@/var/mail@' \
- etc/login.defs.linux &gt; /etc/login.defs</userinput></screen>
+ etc/login.defs &gt; /etc/login.defs</userinput></screen>
<para>Move a misplaced program to its proper location:</para>