From 57cb62d7dc87cdeef4af9ad3109c81180aafd06d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 2 Aug 2021 11:11:05 -0600 Subject: [PATCH] On macOS, don't disable tty tickets and set password timeout to 0. This more closely matches the options used by the macOS version of sudo. --- scripts/mkpkg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/mkpkg b/scripts/mkpkg index 86f48fcf5..f60fec4c0 100755 --- a/scripts/mkpkg +++ b/scripts/mkpkg @@ -220,7 +220,6 @@ case "$osversion" in --with-editor=/bin/vi --with-env-editor --with-ignore-dot - --with-tty-tickets --with-ldap --with-passprompt=[sudo] password for %p: --with-sendmail=/usr/sbin/sendmail @@ -253,7 +252,6 @@ case "$osversion" in --with-logfac=auth --with-all-insults --with-ignore-dot - --with-tty-tickets --enable-shell-sets-home --with-sudoers-mode=0440 --with-pam @@ -368,7 +366,7 @@ case "$osversion" in # Note, must indent with tabs, not spaces due to IFS trickery configure_opts="--with-pam --with-bsm-audit - --without-tty-tickets + --with-password-timeout=0 --enable-zlib=system --with-ldap --with-insults=disabled