mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Add log_allowed and log_denied sudoers flags, defaulting to true.
This commit is contained in:
@@ -497,6 +497,14 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"case_insensitive_group", T_FLAG,
|
||||
N_("Ignore case when matching group names"),
|
||||
NULL,
|
||||
}, {
|
||||
"log_allowed", T_FLAG,
|
||||
N_("Log when a command is allowed by sudoers"),
|
||||
NULL,
|
||||
}, {
|
||||
"log_denied", T_FLAG,
|
||||
N_("Log when a command is denied by sudoers"),
|
||||
NULL,
|
||||
}, {
|
||||
NULL, 0, NULL
|
||||
}
|
||||
|
Reference in New Issue
Block a user