[Pkg-shadow-commits] r380 - trunk/debian

Christian Perrier pkg-shadow-devel@lists.alioth.debian.org
Tue, 12 Jul 2005 12:26:18 +0000


Author: bubulle
Date: 2005-07-12 12:26:17 +0000 (Tue, 12 Jul 2005)
New Revision: 380

Modified:
   trunk/debian/changelog
   trunk/debian/passwd.preinst
Log:
Enable shadow by default for firsttime installation even when the package
is not reconfigured.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-07-12 08:44:09 UTC (rev 379)
+++ trunk/debian/changelog	2005-07-12 12:26:17 UTC (rev 380)
@@ -7,6 +7,10 @@
       See: #249372 (I don't claim the bug to be dealt with though --
       it's still not clear whether the newly built "login" package for
       Hurd is functional).
+    - Enable shadow by default on firsttime installation even when the package
+      is not reconfigured (ie also when not called from base-config). 
+      Thanks to Bastian Blank for the patch and comments
+      Closes: #316219
   * Programs translation updates:
     - Hebrew translation disabled. Closes: #317805
   * Debconf translation updates:

Modified: trunk/debian/passwd.preinst
===================================================================
--- trunk/debian/passwd.preinst	2005-07-12 08:44:09 UTC (rev 379)
+++ trunk/debian/passwd.preinst	2005-07-12 12:26:17 UTC (rev 380)
@@ -29,7 +29,9 @@
 	    if dpkg --compare-versions $2 lt 1:4.0.3 ; then
 		remove_md5 /etc/pam.d/passwd 23a5d1465bbc1e39ca6e0c32f22a75c9
 	    fi
-	    fi
+	else
+	    shadowconfig on
+	fi
 	    
     ;;