Bug 828 - No tty present and no askpass - output possible solution
No tty present and no askpass - output possible solution
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.22
PC Linux
: low enhancement
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-29 12:10 MDT by TamusJRoyce
Modified: 2019-10-14 10:36 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TamusJRoyce 2018-03-29 12:10:05 MDT
Putty and ssh output 

  "sudo: no tty present and no askpass program specified"

because they are often not configured correctly.

Enchancement: Add an additional line of text, possible solution, when issue occurs.

sudo: no tty present and no askpass program specified.
Did you mean "sudo -S"? This will prompt for a password.
Comment 1 Todd C. Miller 2019-07-19 11:52:00 MDT
I expanded the error message to make it more helpful:
https://www.sudo.ws/repos/sudo/rev/f15ffeffff32
Comment 2 Todd C. Miller 2019-10-14 10:36:13 MDT
Fixed in sudo 1.8.28