sudo:读取密码需要一个终端;要么使用-s选项从标准输入中读取或配置AskPass助手
我正在使用sudo
在Ubuntu机器中运行扫描,但它会要求密码以root
执行。但是在运行时不可能提供密码,因此有没有办法这样做。我的意思是密码应传递给用户根。
I am running scans in my Ubuntu machine using sudo
but it will ask for password to execute it as root
. But during the runtime its not possible to provide password so is there a way to do so. I mean the password should be passed to the user ROOT.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论