When determining whether or not "sudo -l" or "sudo -b" should prompt
for a password, take all sudoers sources into account. In other words, if both file and ldap sudoers sources are in use, "sudo -v" will now require that all entries in both sources be have NOPASSWD (file) or !authenticate (ldap) in the entries.
This commit is contained in:
@@ -123,6 +123,7 @@ struct sudo_user {
|
||||
#define FLAG_NON_INTERACTIVE 0x100
|
||||
#define FLAG_BAD_PASSWORD 0x200
|
||||
#define FLAG_AUTH_ERROR 0x400
|
||||
#define FLAG_NOPASSWD 0x800
|
||||
|
||||
/*
|
||||
* find_path()/set_cmnd() return values
|
||||
|
Reference in New Issue
Block a user