My Oracle Support Banner

Repairing Configuration for and Restoring Access to the OCI-C Linux-based PaaS or IaaS Underlying VM (Doc ID 2085512.1)

Last updated on SEPTEMBER 21, 2023

Applies to:

Java Cloud Service - Version N/A and later
SOA Suite Cloud Service - Version N/A and later
Oracle MySQL Cloud Service - Version N/A and later
Oracle Linux Cloud Service - Version Oracle Linux 7.5 with Unbreakable Enterprise Kernel [4.14.35] to Oracle Linux 7.5 with Unbreakable Enterprise Kernel [4.14.35] [Release OL7U5]
Oracle Compute Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

This document explains how to recover from situations where due to user error root access / sudo privileges are lost or misconfiguration of various settings prevents access to the Oracle Cloud Infrastructure Classic Compute node / VM hosting the PaaS or IaaS service (i.e. Compute Classic Cloud Service, Database Cloud Service - Database as a Service, Java Cloud Service). For example, a corrupted /etc/sudoers file will prevent getting root access, switching SSH authentication to password authentication rather than key-based, disallowing certain users from connecting via SSH etc.

Basically whatever changes need to be made to fix the problem, that cannot be made directly on the boot storage volume, can use this solution to resolve the issue.

 

Note:  Oracle does not have access to customer images per security guidelines.  Therefore these steps must be performed by the customer.

 

Solution

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