~vorlon/ubuntu/natty/sudo/keep_home_by_default

« back to all changes in this revision

Viewing changes to def_data.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-05-11 18:07:03 UTC
  • mfrom: (1.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090511180703-vl2t8cem14g6r61c
Tags: 1.7.0-1ubuntu1
* Merge from debian unstable, remaining changes:
 - debian/rules: Disable lecture, enable tty_tickets by default. (Ubuntu
   specific)
 - Add debian/sudo_root.8: Explanation of root handling through sudo.
   Install it in debian/rules. (Ubuntu specific)
 - sudo.c: If the user successfully authenticated and he is in the 'admin'
   group, then create a stamp ~/.sudo_as_admin_successful. Our default bash
   profile checks for this and displays a short intro about sudo if the
   flag is not present. (Ubuntu specific)
 - env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
   for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
   some point)
 - debian/{rules,postinst,sudo-ldap.postinst}: Disable init script
   installation. Debian reintroduced it because /var/run tmpfs is not the
   default there, but has been on Ubuntu for ages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        "Address to send mail to: %s",
188
188
        NULL,
189
189
    }, {
 
190
        "mailfrom", T_STR|T_BOOL,
 
191
        "Address to send mail from: %s",
 
192
        NULL,
 
193
    }, {
190
194
        "mailsub", T_STR,
191
195
        "Subject line for mail messages: %s",
192
196
        NULL,
218
222
        "runas_default", T_STR,
219
223
        "Default user to run commands as: %s",
220
224
        NULL,
221
 
        set_runaspw,
 
225
    }, {
 
226
        "secure_path", T_STR|T_BOOL,
 
227
        "Value to override user's $PATH with: %s",
 
228
        NULL,
222
229
    }, {
223
230
        "editor", T_STR|T_PATH,
224
231
        "Path to the editor for use by visudo: %s",
244
251
        "If LDAP directory is up, do we ignore local sudoers file",
245
252
        NULL,
246
253
    }, {
 
254
        "closefrom", T_INT,
 
255
        "File descriptors >= %d will be closed before executing a command",
 
256
        NULL,
 
257
    }, {
 
258
        "closefrom_override", T_FLAG,
 
259
        "If set, users may override the value of `closefrom' with the -C option",
 
260
        NULL,
 
261
    }, {
247
262
        "setenv", T_FLAG,
248
263
        "Allow users to set arbitrary environment variables",
249
264
        NULL,
272
287
        "SELinux type to use in the new security context: %s",
273
288
        NULL,
274
289
    }, {
 
290
        "askpass", T_STR|T_PATH|T_BOOL,
 
291
        "Path to the askpass helper program: %s",
 
292
        NULL,
 
293
    }, {
 
294
        "env_file", T_STR|T_PATH|T_BOOL,
 
295
        "Path to the sudo-specific environment file: %s",
 
296
        NULL,
 
297
    }, {
 
298
        "sudoers_locale", T_STR,
 
299
        "Locale to use while parsing sudoers: %s",
 
300
        NULL,
 
301
    }, {
 
302
        "visiblepw", T_FLAG,
 
303
        "Allow sudo to prompt for a password even if it would be visisble",
 
304
        NULL,
 
305
    }, {
275
306
        NULL, 0, NULL
276
307
    }
277
308
};