cvs commit: LFS/BOOK/chapter06 shadow.xml

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Tue May 4 14:42:57 PDT 2004


winkie      04/05/04 15:42:57

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter06 shadow.xml
  Log:
  Moved passwd to /bin
  
  Revision  Changes    Path
  1.746     +3 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.745
  retrieving revision 1.746
  diff -u -r1.745 -r1.746
  --- changelog.xml	4 May 2004 17:39:37 -0000	1.745
  +++ changelog.xml	4 May 2004 21:42:57 -0000	1.746
  @@ -92,6 +92,9 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Install the
  +<quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem>
  +
   <listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Switch the uname patch we
   use, so that we get correct results.</para></listitem>
   
  
  
  
  1.7       +4 -14     LFS/BOOK/chapter06/shadow.xml
  
  Index: shadow.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadow.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- shadow.xml	3 May 2004 21:28:57 -0000	1.6
  +++ shadow.xml	4 May 2004 21:42:57 -0000	1.7
  @@ -23,18 +23,7 @@
   <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 @@
       -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>
   
  
  
  



More information about the lfs-book mailing list