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 MAY 13, 2020
Applies to:Oracle Linux Cloud Service - Version Oracle Linux 6.0 and later
Oracle Compute Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
After connecting to the instance as an opc user, when you try sudo to root user, the following error is seen:
[opc@<hostname> ~]$ sudo su -
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