报错代码
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
分析
当 /usr/bin/sudo 文件的权限设置不正确时,会出现运行 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
当 /usr/bin/sudo 文件的权限设置不正确时,会出现运行 sudo 命令时报错的情况
# chown root:root /usr/bin/sudo ; chmod 4755 /usr/bin/sudo