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了。
原文地址:https://www.cnblogs.com/justlove/p/11366036.html
时间: 2024-11-08 22:07:29