~ubuntu-branches/ubuntu/quantal/sudo/quantal

« back to all changes in this revision

Viewing changes to defaults.c

  • Committer: Package Import Robot
  • Author(s): Kees Cook
  • Date: 2011-09-11 10:29:08 UTC
  • Revision ID: package-import@ubuntu.com-20110911102908-8md6zct8rfwpg313
Tags: 1.7.4p6-1ubuntu2
* debian/patches/enable_badpass.patch: turn on "mail_badpass" by default:
  - attempting sudo without knowing a login password is as bad as not
    being listed in the sudoers file, especially if getting the password
    wrong means doing the access-check-email-notification never happens
    (Closes: 641218).

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
#ifdef SEND_MAIL_WHEN_NO_USER
395
395
    def_mail_no_user = TRUE;
396
396
#endif
 
397
    def_mail_badpass = TRUE;
397
398
#ifdef SEND_MAIL_WHEN_NO_HOST
398
399
    def_mail_no_host = TRUE;
399
400
#endif