SUMMARY: email of sudo denials not happening

Mark Schubert Mark.Schubert at
Thu Jan 24 20:26:28 EST 2002

I found that I needed to configure using the --with-mail-if-noperms and then
my tests of running commands not defined in sudoers would initiate an email.

Interestingly on TRU64 V5.1 which has an event manager it was the event
manager that was emailing about the details as sudo logged them. On this
version I was not required to use the --with-mail-if-noperms.

Thanks for your assistance.

-----Original Message-----
From: Mark Schubert 
Sent: Friday, 25 January 2002 11:25 AM
To: 'Todd C. Miller'
Cc: 'sudo-users at'
Subject: RE: email of sudo denials not happening 

If I use the following command(s), email is sent to root no problems. root
is aliased to some external email addresses, and they all receive the email.

echo testing | mailx -s test root

echo testing | mail root


-----Original Message-----
From: Todd C. Miller [mailto:Todd.Miller at]
Sent: Friday, 25 January 2002 9:23 AM
To: Mark Schubert
Cc: 'sudo-users at'
Subject: Re: email of sudo denials not happening 

I don't know what the problem would be unless sendmail is not
setup correctly on the machine in question.  If you send mail
to root on that machine does the message get through?  E.g.

    echo testing | mail -s test root

 - todd

More information about the sudo-users mailing list