1 struct sudo_defs_types sudo_defs_table[] = {
6 "syslog_igoodpri", T_UINT,
9 "syslog_ibadpri", T_UINT,
12 "syslog", T_LOGFAC|T_BOOL,
13 "Syslog facility if syslog is being used for logging: %s"
15 "syslog_goodpri", T_LOGPRI,
16 "Syslog priority to use when user authenticates successfully: %s"
18 "syslog_badpri", T_LOGPRI,
19 "Syslog priority to use when user authenticates unsuccessfully: %s"
21 "long_otp_prompt", T_FLAG,
22 "Put OTP prompt on its own line"
27 "mail_always", T_FLAG,
28 "Always send mail when sudo is run"
30 "mail_badpass", T_FLAG,
31 "Send mail if user authentication fails"
33 "mail_no_user", T_FLAG,
34 "Send mail if the user is not in sudoers"
36 "mail_no_host", T_FLAG,
37 "Send mail if the user is not in sudoers for this host"
39 "mail_no_perms", T_FLAG,
40 "Send mail if the user is not allowed to run a command"
42 "tty_tickets", T_FLAG,
43 "Use a separate timestamp for each user/tty combo"
46 "Lecture user the first time they run sudo"
48 "authenticate", T_FLAG,
49 "Require users to authenticate by default"
55 "Log the hostname in the (non-syslog) log file"
58 "Log the year in the (non-syslog) log file"
60 "shell_noargs", T_FLAG,
61 "If sudo is invoked with no arguments, start a shell"
64 "Set $HOME to the target user when starting a shell with -s"
66 "always_set_home", T_FLAG,
67 "Always set $HOME to the target user's home directory"
70 "Allow some information gathering to give useful error messages"
73 "Require fully-qualified hostnames in the sudoers file"
76 "Insult the user when they enter an incorrect password"
79 "Only allow the user to run sudo if they have a tty"
82 "Visudo will honor the EDITOR environment variable"
85 "Prompt for root's password, not the users's"
88 "Prompt for the runas_default user's password, not the users's"
91 "Prompt for the target user's password, not the users's"
93 "use_loginclass", T_FLAG,
94 "Apply defaults in the target user's login class if there is one"
96 "set_logname", T_FLAG,
97 "Set the LOGNAME and USER environment variables"
99 "stay_setuid", T_FLAG,
100 "Only set the effective uid to the target user, not the real uid"
103 "Reset the environment to a default set of variables"
105 "preserve_groups", T_FLAG,
106 "Don't initialize the group vector to that of the target user"
108 "loglinelen", T_UINT|T_BOOL,
109 "Length at which to wrap log file lines (0 for no wrap): %d"
111 "timestamp_timeout", T_INT|T_BOOL,
112 "Authentication timestamp timeout: %d minutes"
114 "passwd_timeout", T_UINT|T_BOOL,
115 "Password prompt timeout: %d minutes"
117 "passwd_tries", T_UINT,
118 "Number of tries to enter a password: %d"
120 "umask", T_MODE|T_BOOL,
121 "Umask to use or 0777 to use user's: 0%o"
123 "logfile", T_STR|T_BOOL|T_PATH,
124 "Path to log file: %s"
126 "mailerpath", T_STR|T_BOOL|T_PATH,
127 "Path to mail program: %s"
129 "mailerflags", T_STR|T_BOOL,
130 "Flags for mail program: %s"
132 "mailto", T_STR|T_BOOL,
133 "Address to send mail to: %s"
136 "Subject line for mail messages: %s"
138 "badpass_message", T_STR,
139 "Incorrect password message: %s"
141 "timestampdir", T_STR|T_PATH,
142 "Path to authentication timestamp dir: %s"
144 "exempt_group", T_STR|T_BOOL,
145 "Users in this group are exempt from password and PATH requirements: %s"
148 "Default password prompt: %s"
150 "runas_default", T_STR,
151 "Default user to run commands as: %s"
153 "editor", T_STR|T_PATH,
154 "Path to the editor for use by visudo: %s"
156 "env_check", T_LIST|T_BOOL,
157 "Environment variables to check for sanity:"
159 "env_delete", T_LIST|T_BOOL,
160 "Environment variables to remove:"
162 "env_keep", T_LIST|T_BOOL,
163 "Environment variables to preserve:"
168 "verifypw_i", T_UINT,
172 "When to require a password for 'list' pseudocommand: %s"
174 "verifypw", T_PWFLAG,
175 "When to require a password for 'verify' pseudocommand: %s"