Ubuntu无法使用sudo,提示:usrbinsudo must be owned by uid 0 and have the setuid bit set

    科技2024-05-23  82

    解决方法:

    以root账户登录,依次执行下面两条命令:

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

    然后 reboot 即可

    Processed: 0.012, SQL: 9