Todd C. Miller
Todd.Miller at courtesan.com
Wed Mar 22 12:07:54 EST 2000
In message <20000315152523.35656.qmail at hotmail.com>
so spake "bee cee" (beecee101):
> 1. Does sudo support wildcard for hostnames. i.e. if I have
> two hosts dar01.office.com and dar02.office.com, can I specify
> Host_Alias DarSvr=dar*.office.com
> 2. When a user who doesnt have access uses sudo, it gives a message
> "<user> is not allowed to run sudo on <hostname>. This incident will be
> How can I have an email sent to me when someone uses sudo who doesnt have
Assuming you are running sudo >= 1.6 you can set the "mail_no_host"
option in a defaults line in /etc/sudoers. Eg.
More information about the sudo-users