The error message "sudo: sorry, you must have a tty to run sudo" comes out when sudo is done to CentOS by way of the commands such as Emacs and capistrano. (Debian is OK.)
$ sudo diff sudoers.org sudoers
56c56
< Defaults requiretty
---
> #Defaults requiretty
When Defaults requiretty
was commen out by using visudo, it solved it. Ref: sudo: sorry, you must have a tty to run sudo
No comments:
Post a Comment