Repairing Configuration for and Restoring Access to the Linux-based PaaS or IaaS Underlying VM

(Doc ID 2085512.1)

Last updated on JANUARY 25, 2018

Applies to:

Java Cloud Service - Version N/A and later
Oracle Compute Cloud Service - Version N/A and later
Oracle Database as a Service - Version N/A and later
Information in this document applies to any platform.


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.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms