2
0
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:
Todd C. Miller
2015-02-15 20:30:11 -07:00
parent 8bb5897091
commit 53ac30b63a
7 changed files with 217 additions and 182 deletions

View File

@@ -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"),