My Oracle Support Banner

How to Reset the Password on OCI Oracle Linux Instances? (Doc ID 2408898.1)

Last updated on NOVEMBER 29, 2023

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Oracle Linux Cloud Service - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86


Sometimes in OCI, it is not possible to login to the instance as opc user as the password is expired and its not accepting the new password while changing. It is also possible that the customer forgot the password of the users.

This Document provides a method to reset the password of opc user.

There is already a simple method to achieve this goal using OCI serial console and is documented in

This document provides an alternate method to achieve the same if there is any problem in the above mentioned serial console method.


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.