Error added: 2011-01-12T16:49:01Z
Check the output of sudo -l In our case, we were getting this, even though we'd configured !requiretty because nsswitch.conf specified sudoers files ldap, and ldap was configured to have a default of requiretty. Anyway, basically, you need: Defaults:username !requiretty And you need it to not be overridden by anything else. That'll be £50 please.
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: