/usr/bin/sudo must be owned by u

2020-11-05  本文已影响0人  JeremyL

当前用户运行sudo,报错如下:

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

#进入root

$ su

#chown修改sudo权限

$ chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

#参考

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

上一篇 下一篇

猜你喜欢

热点阅读