sudo: /etc/sudoers is owned by uid 755, should be 0

在ubuntu环境下, 想往/etc/sudoers中添加可以执行sudo操作的用户,使用root将/etc/sudoers的权限修改为755后,提示出现标题中的错误:

修正方法:将/etc/sudoers的owner和组修改为root:

chown root:root /etc/sudoers

image

posted @ 2015-05-05 14:06  justinzhang  阅读(7583)  评论(0编辑  收藏  举报