摘要: Introduction The /etc/sudoers file controls who can run what commands as what users on what machines and can also control special things such as wheth 阅读全文
posted @ 2017-01-22 18:00 mofy 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 原因:执行sudo后,sudo会根据visudo里面配置的secure_path来找寻命令,所以sudo尽量使用绝对路径 sudo bash-c "echo $PATH"也可以看到sudo的PATH http://stackoverflow.com/questions/32020594/sudo-p 阅读全文
posted @ 2017-01-22 17:07 mofy 阅读(577) 评论(0) 推荐(0) 编辑