diff -Nru sudo-1.7.4p4/debian/changelog sudo-1.7.4p4/debian/changelog --- sudo-1.7.4p4/debian/changelog 2011-03-24 15:10:01.000000000 +0100 +++ sudo-1.7.4p4/debian/changelog 2011-03-24 21:27:43.000000000 +0100 @@ -1,3 +1,12 @@ +sudo (1.7.4p4-5ubuntu5) natty; urgency=low + + * debian/sudo.preinst: + - avoid conffile prompt by checking for known default sudoers + and installing the correct default sudoers file + (LP: #690873) + + -- Michael Vogt Thu, 24 Mar 2011 21:27:39 +0100 + sudo (1.7.4p4-5ubuntu4) natty; urgency=low * debian/rules: The ubuntu-sudo-as-admin-successful.patch was taken diff -Nru sudo-1.7.4p4/debian/sudo.preinst sudo-1.7.4p4/debian/sudo.preinst --- sudo-1.7.4p4/debian/sudo.preinst 1970-01-01 01:00:00.000000000 +0100 +++ sudo-1.7.4p4/debian/sudo.preinst 2011-03-24 21:58:44.000000000 +0100 @@ -0,0 +1,126 @@ +#!/bin/sh +# preinst script for sudo +# + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +write_verbatim_sudoers() { + echo "Installing verbatim /etc/sudoers" + cat > /etc/sudoers <&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0