centos6.x86_64 启动自动执行脚本错误sudo: sorry, you must have a tty to run sudo
2011-09-21 11:07
573 查看
解决办法
注释掉/etc/sudoers Defaults requiretty所在的行。即:
#Defaults requiretty
注释掉/etc/sudoers Defaults requiretty所在的行。即:
#Defaults requiretty
相关文章推荐
- Linux-/etc/rc.local 或 service 中使用 sudo -u xxx cmd 执行失败(sorry, you must have a tty to run sudo)解决办法
- 浏览器中调用PHP在执行linux 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错误: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
- 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 pssh