Add log_exit_status sudoers option to log when a command exits.
This option defaults to off.
This commit is contained in:
@@ -577,6 +577,10 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"admin_flag", T_STR|T_BOOL|T_CHPATH,
|
||||
N_("Path to the file that is created the first time sudo is run: %s"),
|
||||
NULL,
|
||||
}, {
|
||||
"log_exit_status", T_FLAG,
|
||||
N_("Log the exit status of commands"),
|
||||
NULL,
|
||||
}, {
|
||||
NULL, 0, NULL
|
||||
}
|
||||
|
Reference in New Issue
Block a user