首页
Java
登录
6mi
u
盘
搜
搜 索
Java
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
xiaoxiao
2021-02-28
22
sudo visudo
Then edit that file to add to the very end:
username ALL = NOPASSWD: /fullpath/to/command, /fullpath/to/othercommand
eg
john ALL = NOPASSWD: /sbin/shutdown, /sbin/poweroff, /sbin/start, /sbin/stop
转载请注明原文地址: https://www.6miu.com/read-2400271.html
技术
最新回复
(
0
)