需要修改/etc/sudoers增加权限 root执行 chmod u+w /etc/sudoers 增加写权限 vim /etc/sudoers 修改 chmod u-w /etc/sudoers 去除写权限