mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add mail_all_cmnds to always mail when a user runs a command (or
tries to) including sudoedit. The mail_always flag goes back to its old semantic of always mailing when sudo is run.
This commit is contained in:
@@ -62,6 +62,10 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"mail_no_perms", T_FLAG,
|
||||
N_("Send mail if the user is not allowed to run a command"),
|
||||
NULL,
|
||||
}, {
|
||||
"mail_all_cmnds", T_FLAG,
|
||||
N_("Send mail if the user tries to run a command"),
|
||||
NULL,
|
||||
}, {
|
||||
"tty_tickets", T_FLAG,
|
||||
N_("Use a separate timestamp for each user/tty combo"),
|
||||
|
Reference in New Issue
Block a user