diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-04 21:42:57 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-04 21:42:57 +0000 |
commit | 6820da0337c2a6918f1917150802d57c8ecbdf01 (patch) | |
tree | 665c040b92e941d20a9cdeb1e934fc36925bda7e /chapter06/shadow.xml | |
parent | c6f6bd71491881fb911b12caddac5ee9359091a4 (diff) |
Moved passwd to /bin
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index cba368d08..2bae866ce 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -23,18 +23,7 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Sed.</para> <sect2> <title>Installation of Shadow</title> -<para>Shadow hard-wires the path to the <command>passwd</command> binary within -the binary itself, but does this the wrong way. If a <command>passwd</command> -binary is not present before installing Shadow, the package incorrectly assumes -it is going to be located at <filename>/bin/passwd</filename>, but then -installs it as <filename>/usr/bin/passwd</filename>. This will lead to errors -about not finding <filename>/bin/passwd</filename>. To work around this bug, -create a dummy <filename>passwd</filename> file, so that it gets hard-wired -properly:</para> - -<screen><userinput>touch /usr/bin/passwd</userinput></screen> - -<para>Now prepare Shadow for compilation:</para> +<para>Prepare Shadow for compilation:</para> <screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen> @@ -75,10 +64,11 @@ and type it all in):</para> -e 's%/var/spool/mail%/var/mail%' \ etc/login.defs.linux > /etc/login.defs</userinput></screen> -<para>Move some misplaced symlinks to their proper locations:</para> +<para>Move some misplaced symlinks/programs to their proper locations:</para> <screen><userinput>mv /bin/sg /usr/bin -mv /bin/vigr /usr/sbin</userinput></screen> +mv /bin/vigr /usr/sbin +mv /usr/bin/passwd /bin</userinput></screen> <para>And move Shadow's dynamic libraries to a more appropriate location:</para> |