Add sudoers option to perform authentication even in non-interative mode.
If noninteractive_auth is set, authentication methods that do not require input from the user's terminal may proceed. It is off by default, which restores the pre-1.9.9 behavior of "sudo -n".
This commit is contained in:
@@ -300,9 +300,11 @@
|
||||
#define def_rlimit_rss (sudo_defs_table[I_RLIMIT_RSS].sd_un.str)
|
||||
#define I_RLIMIT_STACK 149
|
||||
#define def_rlimit_stack (sudo_defs_table[I_RLIMIT_STACK].sd_un.str)
|
||||
#define I_LOG_PASSWORDS 150
|
||||
#define I_NONINTERACTIVE_AUTH 150
|
||||
#define def_noninteractive_auth (sudo_defs_table[I_NONINTERACTIVE_AUTH].sd_un.flag)
|
||||
#define I_LOG_PASSWORDS 151
|
||||
#define def_log_passwords (sudo_defs_table[I_LOG_PASSWORDS].sd_un.flag)
|
||||
#define I_PASSPROMPT_REGEX 151
|
||||
#define I_PASSPROMPT_REGEX 152
|
||||
#define def_passprompt_regex (sudo_defs_table[I_PASSPROMPT_REGEX].sd_un.list)
|
||||
|
||||
enum def_tuple {
|
||||
|
Reference in New Issue
Block a user