cvs commit: LFS/BOOK/entities shadow.ent

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Thu Jan 16 20:21:58 PST 2003


timothy     03/01/16 23:21:58

  Modified:    BOOK/appendixa shadowpwd-dep.xml shadowpwd-desc.xml
                        shadowpwd.xml
               BOOK/chapter06 shadowpwd-inst.xml shadowpwd.xml
               BOOK/entities shadow.ent
  Added:       BOOK/appendixa shadowpwd-shortdesc.xml
  Log:
  Converted shadow.
  
  Revision  Changes    Path
  1.8       +2 -0      LFS/BOOK/appendixa/shadowpwd-dep.xml
  
  Index: shadowpwd-dep.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/shadowpwd-dep.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- shadowpwd-dep.xml	12 Sep 2002 16:44:20 -0000	1.7
  +++ shadowpwd-dep.xml	17 Jan 2003 04:21:58 -0000	1.8
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Shadow Installation Dependencies</title>
   
  
  
  
  1.16      +5 -13     LFS/BOOK/appendixa/shadowpwd-desc.xml
  
  Index: shadowpwd-desc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/shadowpwd-desc.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- shadowpwd-desc.xml	6 Oct 2002 15:50:24 -0000	1.15
  +++ shadowpwd-desc.xml	17 Jan 2003 04:21:58 -0000	1.16
  @@ -1,15 +1,10 @@
  -<sect2><title>Contents of Shadow</title>
  +<sect2><title> </title><para> </para></sect2>
   
  -<para>Last checked against version &shadow-contversion;.</para>
  +<sect2><title>Descriptions</title>
   
  -<sect3><title>Program Files</title>
  -<para>chage, chfn, chpasswd, chsh, dpasswd, expiry, faillog, gpasswd, 
  -groupadd, groupdel, groupmod, groups, grpck, grpconv, grpunconv, lastlog,
  -login, logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, pwunconv,
  -sg (link to newgrp), useradd, userdel, usermod, vigr (link to vipw) and
  -vipw</para></sect3>
  +<para>Last checked against version &shadow-contversion;.</para>
   
  -<sect3><title>Descriptions</title>
  +<sect3><title>Program file descriptions</title>
   
   <sect4><title>chage</title>
   <para>chage changes the number of days between password changes and the date of 
  @@ -132,10 +127,7 @@
   
   </sect3>
   
  -<sect3><title>Library Files</title>
  -<para>libmisc.[a,so], libshadow.[a,so]</para></sect3>
  -
  -<sect3><title>Descriptions</title>
  +<sect3><title>Library file descriptions</title>
   
   <sect4><title>libmisc</title>
   <para>No description is currently available.</para></sect4>
  
  
  
  1.6       +1 -0      LFS/BOOK/appendixa/shadowpwd.xml
  
  Index: shadowpwd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/shadowpwd.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- shadowpwd.xml	19 Apr 2002 17:53:27 -0000	1.5
  +++ shadowpwd.xml	17 Jan 2003 04:21:58 -0000	1.6
  @@ -3,6 +3,7 @@
   <?dbhtml filename="shadow.html" dir="appendixa"?>
   
   &aa-shadowpwd-down;
  +&aa-shadowpwd-shortdesc;
   &aa-shadowpwd-desc;
   &aa-shadowpwd-dep;
   
  
  
  
  1.1                  LFS/BOOK/appendixa/shadowpwd-shortdesc.xml
  
  Index: shadowpwd-shortdesc.xml
  ===================================================================
  <sect2><title>Contents of Shadow</title>
  
  <para>Last checked against version &shadow-contversion;.</para>
  
  <para>The Shadow package was created to strengthen the security
  of system passwords.</para>
  
  <para>Shadow installs the following:</para>
  
  <sect3><title>Program Files</title>
  <para>chage, chfn, chpasswd, chsh, dpasswd, expiry, faillog, gpasswd, 
  groupadd, groupdel, groupmod, groups, grpck, grpconv, grpunconv, lastlog,
  login, logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, pwunconv,
  sg (link to newgrp), useradd, userdel, usermod, vigr (link to vipw) and
  vipw</para></sect3>
  
  </sect2>
  
  
  
  1.37      +55 -14    LFS/BOOK/chapter06/shadowpwd-inst.xml
  
  Index: shadowpwd-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd-inst.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- shadowpwd-inst.xml	6 Oct 2002 15:50:25 -0000	1.36
  +++ shadowpwd-inst.xml	17 Jan 2003 04:21:58 -0000	1.37
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2>
   <title>Installation of Shadow Password Suite</title>
   
  @@ -7,27 +9,66 @@
   and how to get the most out of this Shadow package. The Shadow hint can
   be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para>
   
  -<para>Install the Shadow Password Suite by running the 
  -following commands:</para>
  +<para>Prepare Shadow to be compiled:</para>
   
   <para><screen><userinput>./configure --prefix=/usr \
  -    --libdir=/usr/lib --enable-shared &&
  -make &&
  -make install &&
  -cp etc/{limits,login.access} /etc &&
  -sed 's%/var/spool/mail%/var/mail%' \
  -    etc/login.defs.linux > /etc/login.defs &&
  -ln -s vipw /usr/sbin/vigr &&
  -rm /bin/vipw &&
  -mv /bin/sg /usr/bin &&
  -mv /usr/lib/lib{shadow,misc}.so.0* /lib &&
  -ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
  +    --libdir=/usr/lib --enable-shared</userinput></screen></para>
  +
  +<para>Continue with compiling the package:</para>
  +
  +<para><screen><userinput>make</userinput></screen></para>
  +
  +<para>Install the package:</para>
  +
  +<para><screen><userinput>make install</userinput></screen></para>
  +
  +<para>Shadow uses two files to configure authentication settings for
  +the system. Install those config files:</para>
  +
  +<para><screen><userinput>cp etc/{limits,login.access} /etc</userinput></screen></para>
  +
  +<para><filename class="directory">/var/spool/mail</filename> is the
  +old location of the user mailboxes. The location that is used nowadays
  +is /var/mail. Issue the following command to modify the mailbox
  +location:</para>
  +
  +<para><screen><userinput>sed 's%/var/spool/mail%/var/mail%' \
  +    etc/login.defs.linux > /etc/login.defs</userinput></screen></para>
  +
  +<para>According to the manpage of <userinput>vipw</userinput>,
  +a <userinput>vigr</userinput> symlink should exist. Because the
  +shadow installation procedure doesn't create this symlink, it
  +must be created manually:</para>
  +
  +<para><screen><userinput>ln -s vipw /usr/sbin/vigr</userinput></screen></para>
  +
  +<para>The <filename>vipw</filename> link is currently pointing
  +to a non-existing file. Since this file isn't needed here, remove
  +it:</para>
  +
  +<para><screen><userinput>rm /bin/vipw</userinput></screen></para>
  +
  +<para>Move the <userinput>sg</userinput> program to the
  +<filename class="directory">/usr/bin</filename> directory:</para>
  +
  +<para><screen><userinput>mv /bin/sg /usr/bin</userinput></screen></para>
  +
  +<para>Move Shadow's dynamic libraries to a more appropriate location:</para>
  +
  +<para><screen><userinput>mv /usr/lib/lib{shadow,misc}.so.0* /lib</userinput></screen></para>
  +
  +<para>The libraries have been moved, but some packages expect to
  +find them in them in the
  +<filename class="directory">/usr/lib</filename> directory. To account
  +for this, create the following symlinks:</para>
  +
  +<para><screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
   ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen></para>
   
   <para>Sh-utils and Shadow Password Suite each install a unique
   <filename>groups</filename> program. If you wish, you may remove the
   <filename>groups</filename> program installed by the Shadow Password
  -Suite by running the following command:</para>
  +Suite:</para>
   
   <para><screen><userinput>rm /bin/groups</userinput></screen></para>
   
  
  
  
  1.10      +2 -3      LFS/BOOK/chapter06/shadowpwd.xml
  
  Index: shadowpwd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- shadowpwd.xml	14 Dec 2001 23:04:46 -0000	1.9
  +++ shadowpwd.xml	17 Jan 2003 04:21:58 -0000	1.10
  @@ -5,9 +5,8 @@
   <screen>Estimated build time:           &shadow-time;
   Estimated required disk space:  &shadow-compsize;</screen>
   
  -&c6-shadowpwd-inst;
  -&c6-shadowpwd-exp;
  -&aa-shadowpwd-desc;
  +&aa-shadowpwd-shortdesc;
   &aa-shadowpwd-dep;
  +&c6-shadowpwd-inst;
   
   </sect1>
  
  
  
  1.7       +1 -1      LFS/BOOK/entities/shadow.ent
  
  Index: shadow.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/entities/shadow.ent,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- shadow.ent	30 Dec 2002 04:32:04 -0000	1.6
  +++ shadow.ent	17 Jan 2003 04:21:58 -0000	1.7
  @@ -2,13 +2,13 @@
   
   <!ENTITY c6-shadowpwd SYSTEM "../chapter06/shadowpwd.xml">
   <!ENTITY c6-shadowpwd-inst SYSTEM "../chapter06/shadowpwd-inst.xml">
  -<!ENTITY c6-shadowpwd-exp SYSTEM "../chapter06/shadowpwd-exp.xml">
   <!ENTITY c6-cf-shadowpwd SYSTEM "../chapter06/config-shadowpwd.xml">
   
   <!ENTITY aa-shadowpwd SYSTEM "../appendixa/shadowpwd.xml">
   <!ENTITY aa-shadowpwd-desc SYSTEM "../appendixa/shadowpwd-desc.xml">
   <!ENTITY aa-shadowpwd-dep SYSTEM "../appendixa/shadowpwd-dep.xml">
   <!ENTITY aa-shadowpwd-down SYSTEM "../appendixa/shadowpwd-down.xml">
  +<!ENTITY aa-shadowpwd-shortdesc SYSTEM "../appendixa/shadowpwd-shortdesc.xml">
   
   <!ENTITY shadow-version "4.0.3">
   <!ENTITY shadow-depversion "20001016">
  
  
  
-- 
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