On Sun, Aug 23, 2015 at 3:02 PM, Tom Horsley <horsley1953@xxxxxxxxx> wrote: > > In fedora 22, sudo apparently defaults to sending mail out > about unsuccessful sudo attempts. I have a bunch of automated > tests that run on my system, one of them attempts to use sudo > to verify that it fails :-). As a result I keep getting all > sorts of mail about these failures. > > I see lots of mail settings in the sudo config info, but > none of them that are described clearly enough that I can > say "Yea, that's how I turn of this annoying mail." It's probably mail_no_user which is the only mail_* that's on by default. Run "visudo -f /etc/sudoers.d/no_user", insert "Defaults !mail_no_user", save, quit -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org