Error message: "sudo: sorry, you must have a tty to run sudo"
josemic opened this issue · 0 comments
josemic commented
There are 2 issues with CentOS 6.5:
Error message:
sudo: sorry, you must have a tty to run sudo
Solution (as root):
export VISUAL=nano; visudo
Add to the fie:
Defaults:youruser !requiretty
where:
- youruser is replaced by your user name
- nano is the used editor
This information should be added to the Readme.