i am trying overide the below error
sudo: sorry, you must have a tty to run sudo
i am aware of ssh -t option. But just experimenting with OS
So, tried commenting out
Defaults requiretty
from my sudoers file after which i am getting the below error
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: 3 incorrect password attempts
can some explain me please which parameter in sudoers file causes this and how to fix this ?