Add log_exit_status sudoers option to log when a command exits.

This option defaults to off.
This commit is contained in:
Todd C. Miller
2021-07-09 11:08:44 -06:00
parent b54a16e174
commit 17a415ae77
9 changed files with 101 additions and 5 deletions

View File

@@ -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
}