diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2008-11-14 11:58:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2008-11-14 11:58:09 +0000 |
commit | 4dcc6f61d2ac432522cb0d8249ced4b2437da0a5 (patch) | |
tree | 7b176ffeeb7bda768ae52a14198616c2982e1231 /usr.bin/sudo/def_data.c | |
parent | b947682bc3ae9dc4a24d5a2c48e88d01ecd53b63 (diff) |
Upgrade to sudo 1.7. See the WHATSNEW files for details.
Diffstat (limited to 'usr.bin/sudo/def_data.c')
-rw-r--r-- | usr.bin/sudo/def_data.c | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/usr.bin/sudo/def_data.c b/usr.bin/sudo/def_data.c index ff9ebc654c9..72c14c9f1f3 100644 --- a/usr.bin/sudo/def_data.c +++ b/usr.bin/sudo/def_data.c @@ -187,6 +187,10 @@ struct sudo_defs_types sudo_defs_table[] = { "Address to send mail to: %s", NULL, }, { + "mailfrom", T_STR|T_BOOL, + "Address to send mail from: %s", + NULL, + }, { "mailsub", T_STR, "Subject line for mail messages: %s", NULL, @@ -218,7 +222,10 @@ struct sudo_defs_types sudo_defs_table[] = { "runas_default", T_STR, "Default user to run commands as: %s", NULL, - set_runaspw, + }, { + "secure_path", T_STR|T_BOOL, + "Value to override user's $PATH with: %s", + NULL, }, { "editor", T_STR|T_PATH, "Path to the editor for use by visudo: %s", @@ -244,6 +251,14 @@ struct sudo_defs_types sudo_defs_table[] = { "If LDAP directory is up, do we ignore local sudoers file", NULL, }, { + "closefrom", T_INT, + "File descriptors >= %d will be closed before executing a command", + NULL, + }, { + "closefrom_override", T_FLAG, + "If set, users may override the value of `closefrom' with the -C option", + NULL, + }, { "setenv", T_FLAG, "Allow users to set arbitrary environment variables", NULL, @@ -272,6 +287,22 @@ struct sudo_defs_types sudo_defs_table[] = { "SELinux type to use in the new security context: %s", NULL, }, { + "askpass", T_STR|T_PATH|T_BOOL, + "Path to the askpass helper program: %s", + NULL, + }, { + "env_file", T_STR|T_PATH|T_BOOL, + "Path to the sudo-specific environment file: %s", + NULL, + }, { + "sudoers_locale", T_STR, + "Locale to use while parsing sudoers: %s", + NULL, + }, { + "visiblepw", T_FLAG, + "Allow sudo to prompt for a password even if it would be visisble", + NULL, + }, { NULL, 0, NULL } }; |