[Pkg-shadow-devel] Ubuntu shadow 1:4.1.1-5ubuntu3

Ubuntu Merge-o-Matic mom at ubuntu.com
Fri Nov 14 08:33:51 UTC 2008


This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
-------------- next part --------------
Format: 1.7
Date: Thu, 13 Nov 2008 20:32:42 -0600
Source: shadow
Binary: login passwd
Architecture: source
Version: 1:4.1.1-5ubuntu3
Distribution: jaunty
Urgency: low
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Jamie Strandboge <jamie at ubuntu.com>
Description: 
 login      - system login tools
 passwd     - change and administer password and group data
Launchpad-Bugs-Fixed: 296841
Changes: 
 shadow (1:4.1.1-5ubuntu3) jaunty; urgency=low
 .
   * disable the root password for virtual machines created with vm-builder
     on Ubuntu 8.10. (LP: #296841)
Files: 
 9b96ace95a2c9182ed9f5552b1c66143 1654 admin required shadow_4.1.1-5ubuntu3.dsc
 f88db06d0f422d3f3e1e94ce867e0909 92724 admin required shadow_4.1.1-5ubuntu3.diff.gz
Original-Maintainer: Shadow package maintainers <pkg-shadow-devel at lists.alioth.debian.org>
-------------- next part --------------
diff -pruN 1:4.1.1-5ubuntu2/debian/changelog 1:4.1.1-5ubuntu3/debian/changelog
--- 1:4.1.1-5ubuntu2/debian/changelog	2008-11-14 08:19:35.000000000 +0000
+++ 1:4.1.1-5ubuntu3/debian/changelog	2008-11-14 08:19:34.000000000 +0000
@@ -1,3 +1,10 @@
+shadow (1:4.1.1-5ubuntu3) jaunty; urgency=low
+
+  * disable the root password for virtual machines created with vm-builder
+    on Ubuntu 8.10. (LP: #296841)
+
+ -- Jamie Strandboge <jamie at ubuntu.com>  Thu, 13 Nov 2008 20:32:42 -0600
+
 shadow (1:4.1.1-5ubuntu2) jaunty; urgency=low
 
   * debian/login.defs: use SHA512 by default for password crypt routine
diff -pruN 1:4.1.1-5ubuntu2/debian/passwd.postinst 1:4.1.1-5ubuntu3/debian/passwd.postinst
--- 1:4.1.1-5ubuntu2/debian/passwd.postinst	2008-11-14 08:19:35.000000000 +0000
+++ 1:4.1.1-5ubuntu3/debian/passwd.postinst	2008-11-14 08:19:34.000000000 +0000
@@ -15,6 +15,16 @@ configure)
             done
     fi
 
+    # Fix root password of '!' for vm-builder installed instances. Unrelated
+    # to passwd, but seems best place. /var/log/installer won't exist in
+    # vm-builder created images
+    if dpkg --compare-versions "$2" lt "1:4.1.1-5ubuntu3" && \
+       test ! -d "/var/log/installer"; then
+        if printf '!\0' | unix_chkpwd root nullok ; then
+            echo 'root:!' | chpasswd -e
+        fi
+    fi
+
     rm -f /etc/pam.d/passwd.pre-upgrade 2>/dev/null
 	if ! getent group shadow | grep -q '^shadow:[^:]*:42'
 	then


More information about the Pkg-shadow-devel mailing list