sudo requiretty error
Friday, October 10th, 2008I got the following error in configuring an exim mailqueue checking nrpe command
===================
/usr/local/nagios/libexec/check_nrpe -H <ip> -c check_eximmailqueue
must have a tty to run sudo
===================
This is actually not an error.But a setting in sudo configuration that sets a tty requirement for doing a sudo.
And the error condition is caused because the check command is trying to do [...]