aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/shadow.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index b052ab3ab..7fd621bdb 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -83,12 +83,21 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
<para>Prepare Shadow for compilation:</para>
-<screen><userinput remap="configure">./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen>
+<screen><userinput remap="configure">touch /usr/bin/passwd
+./configure --sysconfdir=/etc --with-group-name-max-length=32</userinput></screen>
<variablelist>
<title>The meaning of the configure option:</title>
<varlistentry>
+ <term><command>touch /usr/bin/passwd</command></term>
+ <listitem>
+ <para>The file <filename>/usr/bin/passwd</filename> needs
+ to exist because its location is harcoded in some programs, and
+ the default location if it does not exist is not right.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><parameter>--with-group-name-max-length=32</parameter></term>
<listitem>
<para>The maximum user name is 32 characters. Make the maximum