阅读背景:

测试用户是否可以使用Bash sudo的最佳方法是什么?

来源:互联网 

Reading the sudo man page, I see that the -v flag can be used to check if the user has sudo privileges in his workstation. I have a piece of script that needs to test it. If the user has not sudo privileges, it prints on screen:Reading the sudo man page, I see that the -v fl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: