ubuntu中普通用户使用sudo时报错"sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"如何处理?

答: 设置一下/usr/bin/sudo文件的SUID, 示例如下:

# chmod u+s /usr/bin/sudo
# ls -l /usr/bin/sudo
-rwsr-xr-x 1 root root 11111 Jan 1 11:01 /usr/bin/sudo
posted @ 2020-06-30 10:39  Jello  阅读(6930)  评论(0编辑  收藏  举报