#define I_MAILERFLAGS 39
#define def_mailto (sudo_defs_table[40].sd_un.str)
#define I_MAILTO 40
-#define def_mailsub (sudo_defs_table[41].sd_un.str)
-#define I_MAILSUB 41
-#define def_badpass_message (sudo_defs_table[42].sd_un.str)
-#define I_BADPASS_MESSAGE 42
-#define def_timestampdir (sudo_defs_table[43].sd_un.str)
-#define I_TIMESTAMPDIR 43
-#define def_timestampowner (sudo_defs_table[44].sd_un.str)
-#define I_TIMESTAMPOWNER 44
-#define def_exempt_group (sudo_defs_table[45].sd_un.str)
-#define I_EXEMPT_GROUP 45
-#define def_passprompt (sudo_defs_table[46].sd_un.str)
-#define I_PASSPROMPT 46
-#define def_passprompt_override (sudo_defs_table[47].sd_un.flag)
-#define I_PASSPROMPT_OVERRIDE 47
-#define def_runas_default (sudo_defs_table[48].sd_un.str)
-#define I_RUNAS_DEFAULT 48
-#define def_secure_path (sudo_defs_table[49].sd_un.str)
-#define I_SECURE_PATH 49
-#define def_editor (sudo_defs_table[50].sd_un.str)
-#define I_EDITOR 50
-#define def_listpw (sudo_defs_table[51].sd_un.tuple)
-#define I_LISTPW 51
-#define def_verifypw (sudo_defs_table[52].sd_un.tuple)
-#define I_VERIFYPW 52
-#define def_noexec (sudo_defs_table[53].sd_un.flag)
-#define I_NOEXEC 53
-#define def_noexec_file (sudo_defs_table[54].sd_un.str)
-#define I_NOEXEC_FILE 54
-#define def_ignore_local_sudoers (sudo_defs_table[55].sd_un.flag)
-#define I_IGNORE_LOCAL_SUDOERS 55
-#define def_closefrom (sudo_defs_table[56].sd_un.ival)
-#define I_CLOSEFROM 56
-#define def_closefrom_override (sudo_defs_table[57].sd_un.flag)
-#define I_CLOSEFROM_OVERRIDE 57
-#define def_setenv (sudo_defs_table[58].sd_un.flag)
-#define I_SETENV 58
-#define def_env_reset (sudo_defs_table[59].sd_un.flag)
-#define I_ENV_RESET 59
-#define def_env_check (sudo_defs_table[60].sd_un.list)
-#define I_ENV_CHECK 60
-#define def_env_delete (sudo_defs_table[61].sd_un.list)
-#define I_ENV_DELETE 61
-#define def_env_keep (sudo_defs_table[62].sd_un.list)
-#define I_ENV_KEEP 62
-#define def_role (sudo_defs_table[63].sd_un.str)
-#define I_ROLE 63
-#define def_type (sudo_defs_table[64].sd_un.str)
-#define I_TYPE 64
-#define def_askpass (sudo_defs_table[65].sd_un.str)
-#define I_ASKPASS 65
+#define def_mailfrom (sudo_defs_table[41].sd_un.str)
+#define I_MAILFROM 41
+#define def_mailsub (sudo_defs_table[42].sd_un.str)
+#define I_MAILSUB 42
+#define def_badpass_message (sudo_defs_table[43].sd_un.str)
+#define I_BADPASS_MESSAGE 43
+#define def_timestampdir (sudo_defs_table[44].sd_un.str)
+#define I_TIMESTAMPDIR 44
+#define def_timestampowner (sudo_defs_table[45].sd_un.str)
+#define I_TIMESTAMPOWNER 45
+#define def_exempt_group (sudo_defs_table[46].sd_un.str)
+#define I_EXEMPT_GROUP 46
+#define def_passprompt (sudo_defs_table[47].sd_un.str)
+#define I_PASSPROMPT 47
+#define def_passprompt_override (sudo_defs_table[48].sd_un.flag)
+#define I_PASSPROMPT_OVERRIDE 48
+#define def_runas_default (sudo_defs_table[49].sd_un.str)
+#define I_RUNAS_DEFAULT 49
+#define def_secure_path (sudo_defs_table[50].sd_un.str)
+#define I_SECURE_PATH 50
+#define def_editor (sudo_defs_table[51].sd_un.str)
+#define I_EDITOR 51
+#define def_listpw (sudo_defs_table[52].sd_un.tuple)
+#define I_LISTPW 52
+#define def_verifypw (sudo_defs_table[53].sd_un.tuple)
+#define I_VERIFYPW 53
+#define def_noexec (sudo_defs_table[54].sd_un.flag)
+#define I_NOEXEC 54
+#define def_noexec_file (sudo_defs_table[55].sd_un.str)
+#define I_NOEXEC_FILE 55
+#define def_ignore_local_sudoers (sudo_defs_table[56].sd_un.flag)
+#define I_IGNORE_LOCAL_SUDOERS 56
+#define def_closefrom (sudo_defs_table[57].sd_un.ival)
+#define I_CLOSEFROM 57
+#define def_closefrom_override (sudo_defs_table[58].sd_un.flag)
+#define I_CLOSEFROM_OVERRIDE 58
+#define def_setenv (sudo_defs_table[59].sd_un.flag)
+#define I_SETENV 59
+#define def_env_reset (sudo_defs_table[60].sd_un.flag)
+#define I_ENV_RESET 60
+#define def_env_check (sudo_defs_table[61].sd_un.list)
+#define I_ENV_CHECK 61
+#define def_env_delete (sudo_defs_table[62].sd_un.list)
+#define I_ENV_DELETE 62
+#define def_env_keep (sudo_defs_table[63].sd_un.list)
+#define I_ENV_KEEP 63
+#define def_role (sudo_defs_table[64].sd_un.str)
+#define I_ROLE 64
+#define def_type (sudo_defs_table[65].sd_un.str)
+#define I_TYPE 65
+#define def_askpass (sudo_defs_table[66].sd_un.str)
+#define I_ASKPASS 66
enum def_tupple {
never,
-1.7 March 2, 2008 1
+1.7 March 5, 2008 1
-1.7 March 2, 2008 2
+1.7 March 5, 2008 2
-1.7 March 2, 2008 3
+1.7 March 5, 2008 3
-1.7 March 2, 2008 4
+1.7 March 5, 2008 4
-1.7 March 2, 2008 5
+1.7 March 5, 2008 5
-1.7 March 2, 2008 6
+1.7 March 5, 2008 6
-1.7 March 2, 2008 7
+1.7 March 5, 2008 7
-1.7 March 2, 2008 8
+1.7 March 5, 2008 8
-1.7 March 2, 2008 9
+1.7 March 5, 2008 9
-1.7 March 2, 2008 10
+1.7 March 5, 2008 10
-1.7 March 2, 2008 11
+1.7 March 5, 2008 11
-1.7 March 2, 2008 12
+1.7 March 5, 2008 12
-1.7 March 2, 2008 13
+1.7 March 5, 2008 13
-1.7 March 2, 2008 14
+1.7 March 5, 2008 14
-1.7 March 2, 2008 15
+1.7 March 5, 2008 15
SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
+ mailfrom Address to use for the "from" address when sending warning
+ and error mail. The address should be enclosed in double
+ quotes (") to protect against s\bsu\bud\bdo\bo interpreting the @ sign.
+ Defaults to the name of the user running s\bsu\bud\bdo\bo.
+
mailto Address to send warning and error mail to. The address
should be enclosed in double quotes (") to protect against
s\bsu\bud\bdo\bo interpreting the @ sign. Defaults to root.
disabled by using the =, +=, -=, and ! operators
respectively. Regardless of whether the env_reset
option is enabled or disabled, variables specified by
- env_check will be preserved in the environment if they
- pass the aforementioned check. The default list of
- environment variables to check is displayed when s\bsu\bud\bdo\bo
- is run by root with the _\b-_\bV option.
-
-1.7 March 2, 2008 16
+1.7 March 5, 2008 16
SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4)
+ env_check will be preserved in the environment if they
+ pass the aforementioned check. The default list of
+ environment variables to check is displayed when s\bsu\bud\bdo\bo
+ is run by root with the _\b-_\bV option.
+
env_delete Environment variables to be removed from the user's
environment. The argument may be a double-quoted,
space-separated list or a single value without dou-
-
-
-
-
-
-1.7 March 2, 2008 17
+1.7 March 5, 2008 17
-1.7 March 2, 2008 18
+1.7 March 5, 2008 18
-1.7 March 2, 2008 19
+1.7 March 5, 2008 19
-1.7 March 2, 2008 20
+1.7 March 5, 2008 20
-1.7 March 2, 2008 21
+1.7 March 5, 2008 21
-1.7 March 2, 2008 22
+1.7 March 5, 2008 22
.\" ========================================================================
.\"
.IX Title "SUDOERS @mansectform@"
-.TH SUDOERS @mansectform@ "March 2, 2008" "1.7" "MAINTENANCE COMMANDS"
+.TH SUDOERS @mansectform@ "March 5, 2008" "1.7" "MAINTENANCE COMMANDS"
.SH "NAME"
sudoers \- list of which users may execute what
.SH "DESCRIPTION"
.IX Item "mailerpath"
Path to mail program used to send warning mail.
Defaults to the path to sendmail found at configure time.
+.IP "mailfrom" 12
+.IX Item "mailfrom"
+Address to use for the \*(L"from\*(R" address when sending warning and error
+mail. The address should be enclosed in double quotes (\f(CW\*(C`"\*(C'\fR) to
+protect against \fBsudo\fR interpreting the \f(CW\*(C`@\*(C'\fR sign. Defaults to
+the name of the user running \fBsudo\fR.
.IP "mailto" 12
.IX Item "mailto"
Address to send warning and error mail to. The address should