What does this mean - sudo: no tty present and no askpass program specified?
I keep getting this email from the server:
sudo: no tty present and no askpass program specified
I suggest first running the following commands:
Then add the following at the end of the file.
< Your Username > ALL=(ALL) NOPASSWD: ALL
If that does not work, check and see if a particular job is sending out the mail.
Then add the NOPASSWD to the file or application the job is calling.
username (or application) ALL = NOPASSWD: /fullpath/to/command
Please note that this fix will remove the prompt for a sudo password, thus lessening the security on your server.