[Adduser-devel] r225 - in trunk: . debian

Marc Haber zugschlus@costa.debian.org
Sun, 17 Apr 2005 16:35:00 +0000


Author: zugschlus
Date: 2005-04-17 16:34:59 +0000 (Sun, 17 Apr 2005)
New Revision: 225

Modified:
   trunk/adduser
   trunk/debian/changelog
Log:
  * Use chage to override login.defs PASS_MAX_DAYS for system accounts.
    Thanks to Gerhard Schrenk. (mh) Closes: #298883



Modified: trunk/adduser
===================================================================
--- trunk/adduser	2005-04-16 15:33:02 UTC (rev 224)
+++ trunk/adduser	2005-04-17 16:34:59 UTC (rev 225)
@@ -394,6 +394,7 @@
     $undouser = $new_name;
     &systemcall('/usr/sbin/useradd', '-d', $home_dir, '-g', $ingroup_name, '-s',
 		$shell, '-u', $new_uid, $new_name);
+    &systemcall('/usr/bin/chage', '-M', '99999', $new_name);
     &invalidate_nscd();
 
     if(defined($new_gecos)) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-04-16 15:33:02 UTC (rev 224)
+++ trunk/debian/changelog	2005-04-17 16:34:59 UTC (rev 225)
@@ -15,8 +15,10 @@
     (mh) Closes: #303854
   * Fix broken --disabled-login --disabled-password handling. Thanks
     to Tokka Hastrup. (mh) Closes: #302837
+  * Use chage to override login.defs PASS_MAX_DAYS for system accounts.
+    Thanks to Gerhard Schrenk. (mh) Closes: #298883
 
- -- Marc Haber <mh+debian-packages@zugschlus.de>  Sat, 16 Apr 2005 15:36:07 +0200
+ -- Marc Haber <mh+debian-packages@zugschlus.de>  Sun, 17 Apr 2005 18:34:41 +0200
 
 adduser (3.63) unstable; urgency=low