mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
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:
parent
d1c29fb008
commit
57cb62d7dc
@ -220,7 +220,6 @@ case "$osversion" in
|
|||||||
--with-editor=/bin/vi
|
--with-editor=/bin/vi
|
||||||
--with-env-editor
|
--with-env-editor
|
||||||
--with-ignore-dot
|
--with-ignore-dot
|
||||||
--with-tty-tickets
|
|
||||||
--with-ldap
|
--with-ldap
|
||||||
--with-passprompt=[sudo] password for %p:
|
--with-passprompt=[sudo] password for %p:
|
||||||
--with-sendmail=/usr/sbin/sendmail
|
--with-sendmail=/usr/sbin/sendmail
|
||||||
@ -253,7 +252,6 @@ case "$osversion" in
|
|||||||
--with-logfac=auth
|
--with-logfac=auth
|
||||||
--with-all-insults
|
--with-all-insults
|
||||||
--with-ignore-dot
|
--with-ignore-dot
|
||||||
--with-tty-tickets
|
|
||||||
--enable-shell-sets-home
|
--enable-shell-sets-home
|
||||||
--with-sudoers-mode=0440
|
--with-sudoers-mode=0440
|
||||||
--with-pam
|
--with-pam
|
||||||
@ -368,7 +366,7 @@ case "$osversion" in
|
|||||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||||
configure_opts="--with-pam
|
configure_opts="--with-pam
|
||||||
--with-bsm-audit
|
--with-bsm-audit
|
||||||
--without-tty-tickets
|
--with-password-timeout=0
|
||||||
--enable-zlib=system
|
--enable-zlib=system
|
||||||
--with-ldap
|
--with-ldap
|
||||||
--with-insults=disabled
|
--with-insults=disabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user