diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-13 07:23:32 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-13 07:23:32 +0000 |
commit | 0c418fcb89f74d6960cdb58a81801671ed4acb7b (patch) | |
tree | 96b7758400ab9dcbab57928b87d8a7e76164a16b /chapter06 | |
parent | 668813fb56bf035819d6301add7122a7ea67d0aa (diff) |
Applied Zack's shadow patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2604 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 435ff8ddb..ba30a1a46 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -21,6 +21,16 @@ following commands:</para> <para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para> +<para>Shadow hard-codes the path to the passwd binary within itself, but +it does it the wrong way. If no passwd binary is present before +installing Shadow, it (wrongly) assumes that it will be at /bin/passwd, +but then installs its own in /usr/bin/passwd. This will lead to strange +errors about not finding /bin/passwd. To fix workaround this bug in +Shadow, we'll create a dummy passwd file so that it gets hardcoded in +the right place:</para> + +<para><screen><userinput>touch /usr/bin/passwd</userinput></screen></para> + <para>Prepare Shadow to be compiled:</para> <para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \ |