2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Add support for a custom message when the command execution is denied.

This commit is contained in:
Guillaume Destuynder
2023-11-20 23:29:04 +00:00
committed by Todd C. Miller
parent 55db829087
commit a4cbfecdae
11 changed files with 28 additions and 0 deletions

View File

@@ -695,6 +695,11 @@ struct sudo_defs_types sudo_defs_table[] = {
"apparmor_profile", T_STR,
N_("AppArmor profile to use in the new security context: %s"),
NULL,
}, {
"cmddenial_message", T_STR,
N_("Command denial message: %s"),
NULL,
}, {
NULL, 0, NULL
}