sudo: no tty present and no askpass program specified
tomh0665 at gmail.com
Fri Feb 26 03:37:30 UTC 2010
>> > Why is sudo trying to ask a password here? Did it not get the NOPASSWD
>> > option?
>> > This works perfectly fine with jaunty with exactly the same sudoers file.
> Thanks for the fast response, Tom!
> I understand that sudo refuses to ask for a password if there's no tty.
> But I have explicitly told it _not_ to ask with the NOPASSWD option. So
> there's no reason for sudo to refuse, since it should not try to ask in
> the first place.
The point of the link was that if you add
"You can restore the old behavior"
More information about the ubuntu-users