init-script-template icon indicating copy to clipboard operation
init-script-template copied to clipboard

sudo: sorry, you must have a tty to run sudo

Open hongster opened this issue 10 years ago • 0 comments

sudo: sorry, you must have a tty to run sudo

This message is found it error log file. This could be due to requiretty being enabled in visudo by default. Reference here.

If this is the case, it is better to apply workaround in the init script, instead of altering visudo default configuration.

hongster avatar Nov 11 '15 08:11 hongster