From 6820da0337c2a6918f1917150802d57c8ecbdf01 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Tue, 4 May 2004 21:42:57 +0000 Subject: Moved passwd to /bin git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadow.xml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'chapter06/shadow.xml') 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. Installation of Shadow -Shadow hard-wires the path to the passwd binary within -the binary itself, but does this the wrong way. If a passwd -binary is not present before installing Shadow, the package incorrectly assumes -it is going to be located at /bin/passwd, but then -installs it as /usr/bin/passwd. This will lead to errors -about not finding /bin/passwd. To work around this bug, -create a dummy passwd file, so that it gets hard-wired -properly: - -touch /usr/bin/passwd - -Now prepare Shadow for compilation: +Prepare Shadow for compilation: ./configure --libdir=/usr/lib --enable-shared @@ -75,10 +64,11 @@ and type it all in): -e 's%/var/spool/mail%/var/mail%' \ etc/login.defs.linux > /etc/login.defs -Move some misplaced symlinks to their proper locations: +Move some misplaced symlinks/programs to their proper locations: mv /bin/sg /usr/bin -mv /bin/vigr /usr/sbin +mv /bin/vigr /usr/sbin +mv /usr/bin/passwd /bin And move Shadow's dynamic libraries to a more appropriate location: -- cgit v1.2.3-54-g00ecf