My Oracle Support Banner

Unable To Sudo To Oracle/Root User in JCS VM (Doc ID 2645806.1)

Last updated on JUNE 17, 2024

Applies to:

Java Cloud Service - Version 14.1 and later
Information in this document applies to any platform.


After ssh to JCS VM via "opc" user, sudo to user "oracle" or "root" user fail with the following error

[opc@<JCS hostname> ~]$ sudo su - oracle
>>> /etc/sudoers: syntax error near line 125 <<<
sudo: parse error in /etc/sudoers near line 125
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin


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

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