sudo: Sorry, you must have a tty to run sudo Error on a Linux and Unix

通过运行visudo ,找到Defaults requiretty,并注释掉,即可解决。

posted @ 2017-03-30 14:33  chenqiangzhishen  阅读(139)  评论(0)    收藏  举报