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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user