My Oracle Support Banner

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
Linux x86-64

Symptoms

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

 

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.