Repairing Configuration or Restoring Access to the Linux PaaS or IaaS Underlying VM (Doc ID 2085512.1)

Last updated on FEBRUARY 08, 2017

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.

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 Compute instance / VM hosting the PaaS or IaaS service (ie. Compute 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.  

Solution

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