cvs commit: LFS/BOOK/chapter06 shadowpwd-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Tue May 13 00:23:32 PDT 2003


gerard      03/05/13 03:23:32

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter06 shadowpwd-inst.xml
  Log:
  Applied Zack's shadow patch
  
  Revision  Changes    Path
  1.489     +6 -2      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.488
  retrieving revision 1.489
  diff -u -r1.488 -r1.489
  --- changelog.xml	13 May 2003 07:14:52 -0000	1.488
  +++ changelog.xml	13 May 2003 07:23:32 -0000	1.489
  @@ -74,11 +74,15 @@
   </itemizedlist>
   </para></listitem>
   
  -<listitem><para>May 12th, 2003 [winkie]: Chapter 06 - Installing Procps:
  +<listitem><para>May 13th, 2003 [winkie]: Chapter 06 - Installing Shadow:
  +touch the /usr/bin/passwd file before installation. Not doing so results in
  +Shadow thinking passwd will be in /bin/passwd.</para></listitem>
  +
  +<listitem><para>May 13th, 2003 [winkie]: Chapter 06 - Installing Procps:
   Remove the /lib/libproc.so symlink. No package outside of Procps itself
   uses this library, and none should.</para></listitem>
   
  -<listitem><para>May 12th, 2003 [winkie]: Chapter 06 - Installing Net-tools:
  +<listitem><para>May 13th, 2003 [winkie]: Chapter 06 - Installing Net-tools:
   Run "make config" before doing make. Fixes bugs #462 and
   #497.</para></listitem>
   
  
  
  
  1.41      +10 -0     LFS/BOOK/chapter06/shadowpwd-inst.xml
  
  Index: shadowpwd-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd-inst.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- shadowpwd-inst.xml	12 May 2003 22:46:53 -0000	1.40
  +++ shadowpwd-inst.xml	13 May 2003 07:23:32 -0000	1.41
  @@ -21,6 +21,16 @@
   <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 \
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list