/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
- su – root切换为root用户;
-
执行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
执行chown root:root /usr/bin/sudo
执行chmod 4755 /usr/bin/sudo