sudo: sorry, you must have a tty to run sudo
2010-12-31 15:48
405 查看
需要远程到机器上去执行sudo -u 的命令,遇到如下错误:
sudo: sorry, you must have a tty to run sudo
解决办法:
在/etc/sudoers文件中做如下修改:
注释掉:Defaults requiretty所在的行。即:
sudo: sorry, you must have a tty to run sudo
解决办法:
在/etc/sudoers文件中做如下修改:
注释掉:Defaults requiretty所在的行。即:
相关文章推荐
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo 问题:sorry, you must have a tty to run sudo
- 解决sudo: sorry, you must have a tty to run sudo
- 解决sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- 问题解决:sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo:sorry,you must have a tty to run sudo
- Linux-/etc/rc.local 或 service 中使用 sudo -u xxx cmd 执行失败(sorry, you must have a tty to run sudo)解决办法
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo
- sudo: sorry, you must have a tty to run sudo pssh
- # tail -f /var/log/zabbix/zabbix_agentd.log sudo: sorry, you must have a tty to run sudo
- 解决sudo: sorry, you must have a tty to run sudo
- [转载]解决sudo: sorry, you must have a tty to run sudo