. Advertisement .
..3..
. Advertisement .
..4..
Have anybody got this problem “sudo: effective uid is not 0, is sudo installed setuid root?”?
If you have knowledge about this one, please help me. It’s really difficult for me, I have tried several ways but haven’t solved it yet.
Please tell me the reason of this error and how to fix it quickly. Thanks for everyone’s attention and help.
The cause: The error message sudo: effective uid is not 0, is sudo installed setuid root? appears probably because permissions to the directory
/usr/bin
has changed.Solution:
Remember adding permission.
The following was observed:
—s-x-x. 1 dev root 123832 Aug 13 2015 /usr/bin/sudo
The
sudo
file should havesetuid
, and the user and group ought to beroot
.Incorrect; it should be:
—s-x-x. 1 root root 123832 Aug 13 2015 /usr/bin/sudo