r3045 - in trunk: BOOK BOOK/introduction/welcome BOOK/postlfs/security patches

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sun Nov 28 02:11:02 PST 2004


Author: dj
Date: 2004-11-28 03:11:01 -0700 (Sun, 28 Nov 2004)
New Revision: 3045

Added:
   trunk/patches/Linux-PAM-0.78-linkage-1.patch
Removed:
   trunk/patches/Linux-PAM-0.77-linkage-3.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/introduction/welcome/credits.xml
   trunk/BOOK/postlfs/security/linux_pam.xml
   trunk/BOOK/postlfs/security/shadow.xml
Log:
Updated to Linux-PAM-0.78 and added testing note to shadow instructions

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/BOOK/general.ent	2004-11-28 10:11:01 UTC (rev 3045)
@@ -29,7 +29,7 @@
 
 <!-- Chapter 4 -->                   
 <!ENTITY cracklib-version             "2.7">   
-<!ENTITY Linux_PAM-version            "0.77">  
+<!ENTITY Linux_PAM-version            "0.78">  
 <!ENTITY shadow-version               "4.0.4.1">  
 <!ENTITY iptables-version             "1.2.11"> 
 <!ENTITY gnupg-version                "1.2.6">  

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-11-28 10:11:01 UTC (rev 3045)
@@ -24,7 +24,9 @@
 
 <listitem><para>November 28th, 2004 [dj]: Added default logging lines to
 named.conf, corrected IP for B.ROOT-SERVERS.NET and added note about
-Internic's current copy of named.root.</para></listitem>
+Internic's current copy of named.root; updated to Linux-PAM-0.78 and 
+added a note to the Shadow instructions to test the 
+installation.</para></listitem>
 
 <listitem><para>November 28th, 2004 [randy]: Updated to 
 AbiWord-2.2.0.</para></listitem>

Modified: trunk/BOOK/introduction/welcome/credits.xml
===================================================================
--- trunk/BOOK/introduction/welcome/credits.xml	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/BOOK/introduction/welcome/credits.xml	2004-11-28 10:11:01 UTC (rev 3045)
@@ -192,8 +192,8 @@
 ImageMagick, hd2u,
 STLport, tcl, tk and bind-utils: <emphasis>Tushar Teredesai</emphasis></para></listitem>
 
-<listitem><para>cracklib, libpcap, ncpfs, netfs, ppp(update), RP-PPPoE
-and Samba-3: <emphasis>DJ Lucas</emphasis></para></listitem>
+<listitem><para>cracklib, libpcap, ncpfs, netfs, ppp(update), RP-PPPoE, 
+Samba-3 and Subversion: <emphasis>DJ Lucas</emphasis></para></listitem>
 
 <listitem><para>ntp: <emphasis>Eric Konopka</emphasis></para></listitem>
 

Modified: trunk/BOOK/postlfs/security/linux_pam.xml
===================================================================
--- trunk/BOOK/postlfs/security/linux_pam.xml	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/BOOK/postlfs/security/linux_pam.xml	2004-11-28 10:11:01 UTC (rev 3045)
@@ -6,7 +6,7 @@
 
   <!ENTITY Linux_PAM-download-http "http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&Linux_PAM-version;.tar.bz2">
   <!ENTITY Linux_PAM-download-ftp "ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-&Linux_PAM-version;.tar.bz2">
-  <!ENTITY Linux_PAM-size      "332 KB">
+  <!ENTITY Linux_PAM-size      "364 KB">
   <!ENTITY Linux_PAM-buildsize "6.1 MB">
   <!ENTITY Linux_PAM-time      "0.07 SBU">
 ]>
@@ -43,7 +43,7 @@
 <sect3><title>Additional download</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Required Patch: <ulink 
-url="&patch-root;/Linux-PAM-&Linux_PAM-version;-linkage-3.patch"/></para>
+url="&patch-root;/Linux-PAM-&Linux_PAM-version;-linkage-1.patch"/></para>
 </listitem></itemizedlist>
 </sect3>
 
@@ -64,7 +64,7 @@
 <para>Install <application>Linux-<acronym>PAM</acronym></application> by 
 running the following commands:</para>
 
-<screen><userinput><command>patch -Np1 -i ../Linux-PAM-&Linux_PAM-version;-linkage-3.patch &&
+<screen><userinput><command>patch -Np1 -i ../Linux-PAM-&Linux_PAM-version;-linkage-1.patch &&
 autoconf &&
 ./configure --enable-static-libpam --with-mailspool=/var/mail \
     --enable-read-both-confs --sysconfdir=/etc &&

Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/BOOK/postlfs/security/shadow.xml	2004-11-28 10:11:01 UTC (rev 3045)
@@ -202,6 +202,18 @@
 # End /etc/pam.d/passwd
 <command>EOF</command></userinput></screen>
 
+<note><para>At this point, you should do a simple test to see if
+<application>Shadow</application> is
+working as expected.  Open another term and login as a user, then su to
+to root.  If you do not see any errors, then all is well and you should
+proceed with the rest of the configuration.  If you did
+receive errors, stop now and double check the above configuration files
+manually.  If you cannot find, and fix the error, you should recopile 
+shadow replacing <envar>--with-libpam</envar> with
+<envar>--without-libpam</envar> in the above
+instructions.  If you fail to do this and the errors remain, you
+will be unable to log into your system.</para></note>
+
 <para>Currently, <filename>/etc/pam.d/other</filename> is configured to
 allow anyone with an account on the machine to use programs
 that do not specifically have a configuration file of their own. After

Deleted: trunk/patches/Linux-PAM-0.77-linkage-3.patch
===================================================================
--- trunk/patches/Linux-PAM-0.77-linkage-3.patch	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/patches/Linux-PAM-0.77-linkage-3.patch	2004-11-28 10:11:01 UTC (rev 3045)
@@ -1,56 +0,0 @@
-Submitted By: DJ Lucas (dj_AT_lucasit_DOT_com)
-Date: 2004-05-03
-Initial Package Version: 0.77
-Origin: Mandrake CVS (Jim Gifford) + cracklib source
-Description: Fixes linking on PAM and updates cracklib check
-
-$LastChangedBy$
-$Date$
-
-diff -Naur Linux-PAM-0.77-orig/configure.in Linux-PAM-0.77/configure.in
---- Linux-PAM-0.77-orig/configure.in	2002-07-09 01:17:13.000000000 -0500
-+++ Linux-PAM-0.77/configure.in	2004-04-30 17:06:17.000000000 -0500
-@@ -257,7 +257,7 @@
- 
- dnl Look for cracklib dictionary
- AC_MSG_CHECKING(path to cracklib dictionary)
--DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
-+DICT_DIR_CANDIDATES="/lib /usr/lib /usr/share/dict /usr/share/lib \
-   /usr/local/lib /usr/local/share/lib"
- DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
- CRACKLIB_DICTPATH=""
-diff -Naur Linux-PAM-0.77-orig/libpam_misc/Makefile Linux-PAM-0.77/libpam_misc/Makefile
---- Linux-PAM-0.77-orig/libpam_misc/Makefile	2002-06-26 23:04:54.000000000 -0500
-+++ Linux-PAM-0.77/libpam_misc/Makefile	2004-04-30 17:02:54.000000000 -0500
-@@ -38,6 +38,8 @@
- SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
- endif
- 
-+LINKLIBS += -L../libpam -lpam
-+
- # ---------------------------------------------
- ## rules
- 
-diff -Naur Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c
---- Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c	2001-11-27 00:09:48.000000000 -0600
-+++ Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c	2004-04-30 17:04:05.000000000 -0500
-@@ -49,8 +49,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <ctype.h>
--
--extern char *FascistCheck(char *pw, const char *dictpath);
-+#include <crack.h>
- 
- #ifndef CRACKLIB_DICTPATH
- #define CRACKLIB_DICTPATH "/usr/share/dict/cracklib_dict"
-diff -Naur Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile Linux-PAM-0.77/modules/pam_lastlog/Makefile
---- Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile	2001-02-10 16:33:10.000000000 -0600
-+++ Linux-PAM-0.77/modules/pam_lastlog/Makefile	2004-04-30 17:02:54.000000000 -0500
-@@ -15,5 +15,6 @@
- endif
- 
- TITLE=pam_lastlog
-+MODULE_SIMPLE_EXTRALIBS=-lutil
- 
- include ../Simple.Rules

Added: trunk/patches/Linux-PAM-0.78-linkage-1.patch
===================================================================
--- trunk/patches/Linux-PAM-0.78-linkage-1.patch	2004-11-28 09:17:56 UTC (rev 3044)
+++ trunk/patches/Linux-PAM-0.78-linkage-1.patch	2004-11-28 10:11:01 UTC (rev 3045)
@@ -0,0 +1,56 @@
+Submitted By: DJ Lucas (dj_AT_lucasit_DOT_com)
+Date: 2004-05-03
+Initial Package Version: 0.77
+Origin: Mandrake CVS (Jim Gifford) + cracklib source
+Description: Fixes linking on PAM and updates cracklib check
+
+$LastChangedBy$
+$Date$
+
+diff -Naur Linux-PAM-0.77-orig/configure.in Linux-PAM-0.77/configure.in
+--- Linux-PAM-0.77-orig/configure.in	2002-07-09 01:17:13.000000000 -0500
++++ Linux-PAM-0.77/configure.in	2004-04-30 17:06:17.000000000 -0500
+@@ -257,7 +257,7 @@
+ 
+ dnl Look for cracklib dictionary
+ AC_MSG_CHECKING(path to cracklib dictionary)
+-DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
++DICT_DIR_CANDIDATES="/lib /usr/lib /usr/share/dict /usr/share/lib \
+   /usr/local/lib /usr/local/share/lib"
+ DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
+ CRACKLIB_DICTPATH=""
+diff -Naur Linux-PAM-0.77-orig/libpam_misc/Makefile Linux-PAM-0.77/libpam_misc/Makefile
+--- Linux-PAM-0.77-orig/libpam_misc/Makefile	2002-06-26 23:04:54.000000000 -0500
++++ Linux-PAM-0.77/libpam_misc/Makefile	2004-04-30 17:02:54.000000000 -0500
+@@ -38,6 +38,8 @@
+ SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
+ endif
+ 
++LINKLIBS += -L../libpam -lpam
++
+ # ---------------------------------------------
+ ## rules
+ 
+diff -Naur Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c
+--- Linux-PAM-0.77-orig/modules/pam_cracklib/pam_cracklib.c	2001-11-27 00:09:48.000000000 -0600
++++ Linux-PAM-0.77/modules/pam_cracklib/pam_cracklib.c	2004-04-30 17:04:05.000000000 -0500
+@@ -49,8 +49,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <ctype.h>
+-
+-extern char *FascistCheck(char *pw, const char *dictpath);
++#include <crack.h>
+ 
+ #ifndef CRACKLIB_DICTPATH
+ #define CRACKLIB_DICTPATH "/usr/share/dict/cracklib_dict"
+diff -Naur Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile Linux-PAM-0.77/modules/pam_lastlog/Makefile
+--- Linux-PAM-0.77-orig/modules/pam_lastlog/Makefile	2001-02-10 16:33:10.000000000 -0600
++++ Linux-PAM-0.77/modules/pam_lastlog/Makefile	2004-04-30 17:02:54.000000000 -0500
+@@ -15,5 +15,6 @@
+ endif
+ 
+ TITLE=pam_lastlog
++MODULE_SIMPLE_EXTRALIBS=-lutil
+ 
+ include ../Simple.Rules


Property changes on: trunk/patches/Linux-PAM-0.78-linkage-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list