其他分享
首页 > 其他分享> > How to fix 'sudo: no tty present and no askpass program specified' error?

How to fix 'sudo: no tty present and no askpass program specified' error?

作者:互联网

解决方式在如下链接中:

echo <password> | sudo -S <cmd> 

解决方法用了一句话,详细解释看如下链接:

https://stackoverflow.com/questions/21659637/how-to-fix-sudo-no-tty-present-and-no-askpass-program-specified-error.

标签:tty,sudo,no,fix,askpass,specified
来源: https://www.cnblogs.com/lxz123/p/16327668.html