CVS: moonbase/security/shadow BUILD,1.1.1.1,1.2

Terry Chan tchan at lunar-linux.org
Sat Dec 20 22:25:48 GMT 2003


Update of /var/cvs/lunar/moonbase/security/shadow
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11480

Modified Files:
	BUILD 
Log Message:
Fixed the sedit for the cracklib path.  It should not have the .pwd (the suffix)
in the login.defs file.  etc/login.defs on the ISO is already correct but
the shadow BUILD script breaks it.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/shadow/BUILD,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- BUILD	21 Aug 2002 00:55:21 -0000	1.1.1.1
+++ BUILD	20 Dec 2003 22:25:45 -0000	1.2
@@ -9,7 +9,7 @@
   sedit  "s/ln -s/ln -sf/g"  configure
   sedit  "s/ln -s/ln -sf/g"  aclocal.m4
 
-  sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict.pwd/" etc/login.defs.linux
+  sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict/" etc/login.defs.linux
   sedit "s/#MD5_CRYPT_ENAB	no/MD5_CRYPT_ENAB	yes/" etc/login.defs.linux
 
   touch *
@@ -38,7 +38,7 @@
   [  -e  /etc/defaults         ]  ||  mkdir                 /etc/defaults
   [  -f  /usr/sbin/vigr        ]  ||  ln  /usr/sbin/vipw    /usr/sbin/vigr
 
-  sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict.pwd/" /etc/login.defs
+  sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict/" /etc/login.defs
   sedit "s/#MD5_CRYPT_ENAB	no/MD5_CRYPT_ENAB	yes/" /etc/login.defs
 
   cp  $SCRIPT_DIRECTORY/adduser  /usr/sbin




More information about the Lunar-commits mailing list