Annotation of src/usr.bin/sudo/def_data.in, Revision 1.2
1.1 millert 1: #
2: # Format:
3: #
4: # var_name
5: # TYPE
6: # description (or NULL)
7: #
8:
9: syslog_ifac
10: T_UINT
11: NULL
12: syslog_igoodpri
13: T_UINT
14: NULL
15: syslog_ibadpri
16: T_UINT
17: NULL
18: syslog
19: T_LOGFAC|T_BOOL
20: "Syslog facility if syslog is being used for logging: %s"
21: syslog_goodpri
22: T_LOGPRI
23: "Syslog priority to use when user authenticates successfully: %s"
24: syslog_badpri
25: T_LOGPRI
26: "Syslog priority to use when user authenticates unsuccessfully: %s"
27: long_otp_prompt
28: T_FLAG
29: "Put OTP prompt on its own line"
30: ignore_dot
31: T_FLAG
32: "Ignore '.' in $PATH"
33: mail_always
34: T_FLAG
35: "Always send mail when sudo is run"
36: mail_badpass
37: T_FLAG
38: "Send mail if user authentication fails"
39: mail_no_user
40: T_FLAG
41: "Send mail if the user is not in sudoers"
42: mail_no_host
43: T_FLAG
44: "Send mail if the user is not in sudoers for this host"
45: mail_no_perms
46: T_FLAG
47: "Send mail if the user is not allowed to run a command"
48: tty_tickets
49: T_FLAG
50: "Use a separate timestamp for each user/tty combo"
51: lecture
52: T_FLAG
53: "Lecture user the first time they run sudo"
54: authenticate
55: T_FLAG
56: "Require users to authenticate by default"
57: root_sudo
58: T_FLAG
59: "Root may run sudo"
60: log_host
61: T_FLAG
62: "Log the hostname in the (non-syslog) log file"
63: log_year
64: T_FLAG
65: "Log the year in the (non-syslog) log file"
66: shell_noargs
67: T_FLAG
68: "If sudo is invoked with no arguments, start a shell"
69: set_home
70: T_FLAG
71: "Set $HOME to the target user when starting a shell with -s"
72: always_set_home
73: T_FLAG
74: "Always set $HOME to the target user's home directory"
75: path_info
76: T_FLAG
77: "Allow some information gathering to give useful error messages"
78: fqdn
79: T_FLAG
80: "Require fully-qualified hostnames in the sudoers file"
81: insults
82: T_FLAG
83: "Insult the user when they enter an incorrect password"
84: requiretty
85: T_FLAG
86: "Only allow the user to run sudo if they have a tty"
87: env_editor
88: T_FLAG
89: "Visudo will honor the EDITOR environment variable"
90: rootpw
91: T_FLAG
92: "Prompt for root's password, not the users's"
93: runaspw
94: T_FLAG
95: "Prompt for the runas_default user's password, not the users's"
96: targetpw
97: T_FLAG
98: "Prompt for the target user's password, not the users's"
99: use_loginclass
100: T_FLAG
101: "Apply defaults in the target user's login class if there is one"
102: set_logname
103: T_FLAG
104: "Set the LOGNAME and USER environment variables"
105: stay_setuid
106: T_FLAG
107: "Only set the effective uid to the target user, not the real uid"
108: env_reset
109: T_FLAG
110: "Reset the environment to a default set of variables"
111: preserve_groups
112: T_FLAG
113: "Don't initialize the group vector to that of the target user"
114: loglinelen
115: T_UINT|T_BOOL
116: "Length at which to wrap log file lines (0 for no wrap): %d"
117: timestamp_timeout
118: T_INT|T_BOOL
119: "Authentication timestamp timeout: %d minutes"
120: passwd_timeout
121: T_UINT|T_BOOL
122: "Password prompt timeout: %d minutes"
123: passwd_tries
124: T_UINT
125: "Number of tries to enter a password: %d"
126: umask
127: T_MODE|T_BOOL
128: "Umask to use or 0777 to use user's: 0%o"
129: logfile
130: T_STR|T_BOOL|T_PATH
131: "Path to log file: %s"
132: mailerpath
133: T_STR|T_BOOL|T_PATH
134: "Path to mail program: %s"
135: mailerflags
136: T_STR|T_BOOL
137: "Flags for mail program: %s"
138: mailto
139: T_STR|T_BOOL
140: "Address to send mail to: %s"
141: mailsub
142: T_STR
143: "Subject line for mail messages: %s"
144: badpass_message
145: T_STR
146: "Incorrect password message: %s"
147: timestampdir
148: T_STR|T_PATH
149: "Path to authentication timestamp dir: %s"
1.2 ! millert 150: timestampowner
! 151: T_STR
! 152: "Owner of the authentication timestamp dir: %s"
1.1 millert 153: exempt_group
154: T_STR|T_BOOL
155: "Users in this group are exempt from password and PATH requirements: %s"
156: passprompt
157: T_STR
158: "Default password prompt: %s"
159: runas_default
160: T_STR
161: "Default user to run commands as: %s"
162: editor
163: T_STR|T_PATH
164: "Path to the editor for use by visudo: %s"
165: env_check
166: T_LIST|T_BOOL
167: "Environment variables to check for sanity:"
168: env_delete
169: T_LIST|T_BOOL
170: "Environment variables to remove:"
171: env_keep
172: T_LIST|T_BOOL
173: "Environment variables to preserve:"
174: listpw_i
175: T_UINT
176: NULL
177: verifypw_i
178: T_UINT
179: NULL
180: listpw
181: T_PWFLAG
182: "When to require a password for 'list' pseudocommand: %s"
183: verifypw
184: T_PWFLAG
185: "When to require a password for 'verify' pseudocommand: %s"