r3342 - in trunk/BOOK: introduction/welcome postlfs/security

randy at linuxfromscratch.org randy at linuxfromscratch.org
Wed Jan 26 17:41:18 PST 2005


Author: randy
Date: 2005-01-26 18:41:14 -0700 (Wed, 26 Jan 2005)
New Revision: 3342

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/cracklib.xml
   trunk/BOOK/postlfs/security/linux_pam.xml
   trunk/BOOK/postlfs/security/openssl.xml
   trunk/BOOK/postlfs/security/shadow.xml
Log:
Added download location and build entities to Shadow instructions; misc Chapter 4 clean-up

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-01-26 14:18:33 UTC (rev 3341)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-01-27 01:41:14 UTC (rev 3342)
@@ -22,8 +22,9 @@
 
 <itemizedlist>
 
-<listitem><para>January 26th, 2005 [randy]: Updated J2SDK binary 
-version to 1.4.2_07; updated J2SDK build entities.</para></listitem>
+<listitem><para>January 26th, 2005 [randy]: Updated J2SDK binary version to 
+1.4.2_07; updated J2SDK build entities; added download location and build 
+entities to Shadow instructions.</para></listitem>
 
 <listitem><para>January 26th, 2005 [bdubbs]: Added directory reference
 for xorg downloads.</para></listitem>

Modified: trunk/BOOK/postlfs/security/cracklib.xml
===================================================================
--- trunk/BOOK/postlfs/security/cracklib.xml	2005-01-26 14:18:33 UTC (rev 3341)
+++ trunk/BOOK/postlfs/security/cracklib.xml	2005-01-27 01:41:14 UTC (rev 3342)
@@ -73,10 +73,10 @@
 <sect2>
 <title>Installation of <application>cracklib</application></title>
 
-<para>First, install the chosen word list for 
+<para>First, as the root user, install the chosen word list for 
 <application>cracklib</application>:</para>
 
-<screen><userinput><command>install -d -m755 /usr/share/dict &&
+<screen><userinput role='root'><command>install -d -m755 /usr/share/dict &&
 install -m644 ../<replaceable>[wordlist]</replaceable> /usr/share/dict &&
 ln -sf <replaceable>[wordlist]</replaceable> /usr/share/dict/words &&
 echo $(hostname) >> /usr/share/dict/extra.words</command></userinput></screen>
@@ -99,8 +99,8 @@
 <screen><userinput><command>cp -R cracklib cracklib_krb5 &&
 patch -Np1 -i ../cracklib,&cracklib-version;-heimdal-1.patch</command></userinput></screen>
 
-<para>Finally, install the package:</para>
-<screen><userinput><command>make install</command></userinput></screen>
+<para>Finally, as the root user, install the package:</para>
+<screen><userinput role='root'><command>make install</command></userinput></screen>
 
 </sect2>
 

Modified: trunk/BOOK/postlfs/security/linux_pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux_pam.xml	2005-01-26 14:18:33 UTC (rev 3341)
+++ trunk/BOOK/postlfs/security/linux_pam.xml	2005-01-27 01:41:14 UTC (rev 3342)
@@ -52,8 +52,8 @@
 <sect3><title><application>Linux-<acronym>PAM</acronym></application> 
 dependencies</title>
 <sect4><title>Optional</title>
-<para><xref linkend="cracklib"/> and sgmltools-lite 
-(<ulink url="http://sourceforge.net/projects/sgmltools-lite/"/>)
+<para><xref linkend="cracklib"/> and <ulink 
+url="http://sourceforge.net/projects/sgmltools-lite/">sgmltools-lite</ulink>
 </para></sect4>
 </sect3>
 
@@ -70,8 +70,11 @@
 autoconf &&
 ./configure --enable-static-libpam --with-mailspool=/var/mail \
     --enable-read-both-confs --sysconfdir=/etc &&
-make &&
-make install &&
+make</command></userinput></screen>
+
+<para>Now, as the root user:</para>
+
+<screen><userinput role='root'><command>make install &&
 mv /lib/libpam.a /lib/libpam_misc.a /lib/libpamc.a /usr/lib &&
 ln -sf ../../lib/libpam.so.&Linux_PAM-version; /usr/lib/libpam.so &&
 ln -sf ../../lib/libpam_misc.so.&Linux_PAM-version; /usr/lib/libpam_misc.so &&
@@ -152,6 +155,8 @@
 <ulink url="http://www.kernel.org/pub/linux/libs/pam/modules.html"/>
 for a list of various modules available.</para>
 
+<note><para>You should now reinstall the <xref linkend="shadow"/> 
+package.</para></note>
 </sect3>
 
 </sect2>
@@ -159,15 +164,14 @@
 <sect2>
 <title>Contents</title>
 
-
 <segmentedlist>
 <segtitle>Installed Program</segtitle>
 <segtitle>Installed Libraries</segtitle>
-<segtitle>Installed Directory</segtitle>
+<segtitle>Installed Directories</segtitle>
 <seglistitem>
 <seg>unix_chkpwd and pam_tally</seg>
-<seg>libpam.so, libpamc.so and libpma_misc.so</seg>
-<seg>/lib/security</seg>
+<seg>libpam.so, libpamc.so and libpam_misc.so</seg>
+<seg>/etc/pam.d and /lib/security</seg>
 </seglistitem>
 </segmentedlist>
 
@@ -186,7 +190,8 @@
 
 <varlistentry id="libpam">
 <term><filename class='libraryfile'>libpam.so</filename></term>
-<listitem><para> provide the interfaces between applications and the <acronym>PAM</acronym> modules.</para>
+<listitem><para> provide the interfaces between applications and the 
+<acronym>PAM</acronym> modules.</para>
 <indexterm zone="Linux_PAM libpam">
 <primary sortas="c-libpam">libpam.so</primary></indexterm>
 </listitem>

Modified: trunk/BOOK/postlfs/security/openssl.xml
===================================================================
--- trunk/BOOK/postlfs/security/openssl.xml	2005-01-26 14:18:33 UTC (rev 3341)
+++ trunk/BOOK/postlfs/security/openssl.xml	2005-01-27 01:41:14 UTC (rev 3342)
@@ -67,8 +67,11 @@
 mv doc/crypto/{,openssl_}threads.pod &&
 ./config --openssldir=/etc/ssl --prefix=/usr shared &&
 sed -i 's%SHLIBDIRS= fips crypto ssl%SHLIBDIRS= crypto ssl%g' Makefile &&
-make MANDIR=/usr/share/man &&
-make MANDIR=/usr/share/man install &&
+make MANDIR=/usr/share/man</command></userinput></screen>
+
+<para>Now, as the root user:</para>
+
+<screen><userinput role='root'><command>make MANDIR=/usr/share/man install &&
 cp -r certs /etc/ssl</command></userinput></screen>
 
 </sect2>

Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml	2005-01-26 14:18:33 UTC (rev 3341)
+++ trunk/BOOK/postlfs/security/shadow.xml	2005-01-27 01:41:14 UTC (rev 3342)
@@ -3,9 +3,15 @@
    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
+
+  <!ENTITY shadow-download-http " ">
+  <!ENTITY shadow-download-ftp  "ftp://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2">
+  <!ENTITY shadow-size          "814 KB">
+  <!ENTITY shadow-buildsize     "14.1 MB">
+  <!ENTITY shadow-time          "0.42 SBU">
 ]>
 
-<sect1 id="shadow">
+<sect1 id="shadow" xreflabel="Shadow-&shadow-version;">
 <sect1info>
 <othername>$LastChangedBy$</othername>
 <date>$Date$</date>
@@ -47,6 +53,20 @@
 <command>su</command> to utilize
 <acronym>PAM</acronym>.</para>
 
+<sect3><title>Package information</title>
+<itemizedlist spacing="compact">
+<listitem><para>Download (HTTP): 
+<ulink url="&shadow-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): 
+<ulink url="&shadow-download-ftp;"/></para></listitem>
+<listitem><para>Download size: 
+&shadow-size;</para></listitem>
+<listitem><para>Estimated disk space required: 
+&shadow-buildsize;</para></listitem>
+<listitem><para>Estimated build time: 
+&shadow-time;</para></listitem></itemizedlist>
+</sect3>
+
 <sect3><title>Additional downloads</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Patch to fix linking against PAM:
@@ -72,8 +92,11 @@
     --enable-shared --with-libpam --without-libcrack &&
 echo '#define HAVE_SETLOCALE 1' >> config.h &&
 sed -i '/extern char/d' libmisc/xmalloc.c &&
-make &&
-make install &&
+make</command></userinput></screen>
+
+<para>Now, as the root user:</para>
+
+<screen><userinput role='root'><command>make install &&
 mv /bin/sg /usr/bin &&
 mv /bin/vigr /usr/sbin &&
 mv /usr/bin/passwd /bin &&
@@ -97,11 +120,6 @@
 fixes a compilation problem when using <application>GCC</application>-3.4.x.
 </para>
 
-<!--  Leftover from older instructions????
-<para><command>cp debian/securetty /etc/securetty</command>: This
-command sets the tty's that allow logins through <acronym>PAM</acronym>.</para>
--->
-
 </sect2>
 
 <sect2>
@@ -262,9 +280,18 @@
 CRACKLIB_DICTPATH
 PASS_CHANGE_TRIES
 PASS_ALWAYS_WARN</screen>
-
 </sect3>
 
 </sect2>
 
+<sect2>
+<title>Contents</title>
+
+<para>A list of the installed files, along with their short descriptions can 
+be found at <ulink 
+url="http://www.linuxfromscratch.org/lfs/view/6.0/chapter06/shadow.html"/>.
+</para>
+
+</sect2>
+
 </sect1>




More information about the blfs-book mailing list