[Pkg-shadow-devel] Bug#304350: Here is the patch
Martin Quinson
Martin Quinson <martin.quinson@loria.fr>, 304350@bugs.debian.org
Thu, 12 May 2005 11:33:23 +0200
--DWg365Y4B18r8evw
Content-Type: multipart/mixed; boundary="juZjCTNxrMaZdGZC"
Content-Disposition: inline
--juZjCTNxrMaZdGZC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
retitle 304350 [DEBIAN DECISION] Please ask twice for passwords, even when DEBCONF_PRIORITY=critical
thanks
Hello,
this is really easy to fix, and perfectly makes sense. I'd say that we
should do it and forget about it. The patch is attached.
Bye, Mt.
--juZjCTNxrMaZdGZC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=deb_d-i_asks_pass_twice
Index: shadow-4.0.3/debian/passwd.config
===================================================================
--- shadow-4.0.3.orig/debian/passwd.config 2005-05-11 16:25:36.000000000 +0200
+++ shadow-4.0.3/debian/passwd.config 2005-05-12 11:27:18.256531891 +0200
@@ -125,7 +125,7 @@ while [ "$STATE" != '9' -a "$STATE" != '
# priority, so it may not always be seen. If
# it isn't, don't compare passwords.
COMPARE_PW=''
- db_input high passwd/root-password-again \
+ db_input critical passwd/root-password-again \
&& COMPARE_PW=1 || true
fi
;;
@@ -202,7 +202,7 @@ while [ "$STATE" != '9' -a "$STATE" != '
db_input critical passwd/username || true
db_input critical passwd/user-password || true
COMPARE_PW=''
- db_input high passwd/user-password-again \
+ db_input critical passwd/user-password-again \
&& COMPARE_PW=1 || true
fi
;;
--juZjCTNxrMaZdGZC--
--DWg365Y4B18r8evw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCgyLjIiC/MeFF8zQRAnVPAJ9mgMV1S0CXU7gelUS5SykoZ1pzRQCg0W2/
RGIfL6hXVUvXQIWOkdn4rGs=
=tEAA
-----END PGP SIGNATURE-----
--DWg365Y4B18r8evw--