sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set 的解决办法

  Linux新建用户 ,sudo报错:

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

  解决办法:重置一下sudo的属性

chown root:root /usr/bin/sudo

chmod 4755 /usr/bin/sudo

  然后就ok了。

posted @ 2019-08-16 19:55  长情白月光  阅读(2012)  评论(0编辑  收藏  举报