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 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]
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@<hostname> ~]$ sudo su - 

Changes

 

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
Changes
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.