I am not able to use sudo, how to resolve this ?
$ sudo vi /etc/fstab sudo: effective uid is not 0, is sudo installed setuid root?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
From the error
sudo: effective uid is not 0, is sudo installed setuid root?
It is clear that the
setuid is not set for
sudo command. And also the
user:group must be
Just become the root user and make sure that it is set. i.e.
su - chown root:root /usr/bin/sudo chmod u+s /usr/bin/sudo
It will set the
setuid for the