diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 06:08:50 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-04-19 06:08:50 +0000 |
commit | 0827a1ae4120b0fca3958f9f958e306f552b0c90 (patch) | |
tree | 5e0b364a504ca2ea8f96d47ae1331e8eb71ccc20 /chapter06 | |
parent | 3944e7bdda7568f0ac2fb55afc818a815dc0312f (diff) |
Fix a wrong hardcoded path in some shadow programs. ticket #4632
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/shadow.xml | 11 |
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 |