This patch will upgrade Sudo version 1.8.28 to Sudo version 1.8.28 patchlevel 1. To apply: $ cd sudo-1.8.28 $ patch -p1 < sudo-1.8.28p1.patch diff -urNa sudo-1.8.28/ChangeLog sudo-1.8.28p1/ChangeLog --- sudo-1.8.28/ChangeLog Thu Oct 10 10:34:19 2019 +++ sudo-1.8.28p1/ChangeLog Wed Oct 16 06:07:03 2019 @@ -1,3 +1,15 @@ +2019-10-16 Todd C. Miller + + * NEWS, configure, configure.ac: + Sudo 1.8.28p1 + [09ceaddc94f9] + +2019-10-15 Todd C. Miller + + * plugins/sudoers/parse.c: + The fix for bug #869 broke "sudo -v" when verifypw=all (the default) + [aac35bcd8584] + 2019-10-10 Todd C. Miller * plugins/sudoers/po/ca.mo, plugins/sudoers/po/da.mo, diff -urNa sudo-1.8.28/NEWS sudo-1.8.28p1/NEWS --- sudo-1.8.28/NEWS Thu Oct 10 10:33:03 2019 +++ sudo-1.8.28p1/NEWS Wed Oct 16 06:00:32 2019 @@ -1,3 +1,9 @@ +What's new in Sudo 1.8.28p1 + + * The fix for Bug #869 caused "sudo -v" to prompt for a password + when "verifypw" is set to "all" (the default) and all of the + user's sudoers entries are marked with NOPASSWD. Bug #901. + What's new in Sudo 1.8.28 * Sudo will now only set PAM_TTY to the empty string when no diff -urNa sudo-1.8.28/configure sudo-1.8.28p1/configure --- sudo-1.8.28/configure Thu Oct 10 10:33:04 2019 +++ sudo-1.8.28p1/configure Wed Oct 16 06:00:32 2019 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for sudo 1.8.28. +# Generated by GNU Autoconf 2.69 for sudo 1.8.28p1. # # Report bugs to . # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='sudo' PACKAGE_TARNAME='sudo' -PACKAGE_VERSION='1.8.28' -PACKAGE_STRING='sudo 1.8.28' +PACKAGE_VERSION='1.8.28p1' +PACKAGE_STRING='sudo 1.8.28p1' PACKAGE_BUGREPORT='https://bugzilla.sudo.ws/' PACKAGE_URL='' @@ -1544,7 +1544,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures sudo 1.8.28 to adapt to many kinds of systems. +\`configure' configures sudo 1.8.28p1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1609,7 +1609,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of sudo 1.8.28:";; + short | recursive ) echo "Configuration of sudo 1.8.28p1:";; esac cat <<\_ACEOF @@ -1875,7 +1875,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -sudo configure 1.8.28 +sudo configure 1.8.28p1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2584,7 +2584,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by sudo $as_me 1.8.28, which was +It was created by sudo $as_me 1.8.28p1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -27537,7 +27537,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by sudo $as_me 1.8.28, which was +This file was extended by sudo $as_me 1.8.28p1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -27603,7 +27603,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -sudo config.status 1.8.28 +sudo config.status 1.8.28p1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urNa sudo-1.8.28/configure.ac sudo-1.8.28p1/configure.ac --- sudo-1.8.28/configure.ac Thu Oct 10 10:33:04 2019 +++ sudo-1.8.28p1/configure.ac Wed Oct 16 06:00:32 2019 @@ -18,7 +18,7 @@ dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. dnl AC_PREREQ([2.59]) -AC_INIT([sudo], [1.8.28], [https://bugzilla.sudo.ws/], [sudo]) +AC_INIT([sudo], [1.8.28p1], [https://bugzilla.sudo.ws/], [sudo]) AC_CONFIG_HEADER([config.h pathnames.h]) AC_CONFIG_SRCDIR([src/sudo.c]) dnl diff -urNa sudo-1.8.28/plugins/sudoers/parse.c sudo-1.8.28p1/plugins/sudoers/parse.c --- sudo-1.8.28/plugins/sudoers/parse.c Thu Oct 10 10:33:03 2019 +++ sudo-1.8.28p1/plugins/sudoers/parse.c Tue Oct 15 09:24:50 2019 @@ -62,7 +62,7 @@ debug_decl(sudoers_lookup_pseudo, SUDOERS_DEBUG_PARSER) pwcheck = (pwflag == -1) ? never : sudo_defs_table[pwflag].sd_un.tuple; - nopass = (pwcheck == never) ? true : false; + nopass = (pwcheck == never || pwcheck == all) ? true : false; if (list_pw == NULL) SET(validated, FLAG_NO_CHECK);