Unable to sudo as root User Due to the Error "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"
(Doc ID 2448656.1)
Last updated on OCTOBER 03, 2018
Applies to:Oracle Linux Cloud Service - Version Oracle Linux 6.0 and later
Oracle Compute Cloud Service - Version N/A and later
After connecting to the instance as an opc user, when you try sudo to root user, the following error is seen:
[opc@sudotest ~]$ sudo su -
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document