visudo 可以给用户添加命令权限(vi /etc/sudoers ) -c 可以检查添加到sudoers文件的语法 mm ALL=(ALL) NOPASSWD:ALL 转载于:https://www.cnblogs.com/todayORtomorrow/p/10432399.html