CentOS error – sudo: effective uid is not 0, is sudo installed setuid root?

The problem is that you probably changed permissions to the directory /usr/bin.

To resolve that :

1) First be sure that root is owner of this directory /usr/bin :

chown root:root /usr/bin

2) and change permission for this directory :

chmod u+s /usr/bin/sudo

Leave a Comment