Oracle Database Appliance (ODA) (MOSC)

MOSC Banner

ODA-VP: How to reset the root password on a Virtual Machine

You have a OEL 6 VM on a ODA Virtualized Platform, and the root password for that VM has become lost.  Here are the steps to recover it (created with a little help from the OVM team).

Working solution:

1) Login to oda_base as root.

2) Stop the VM.

--> oakcli stop vm <vmname>

3) Login to dom0 as root.

4) Edit the vm.cfg file for the VM (path name varies from OVM example in 1602157.1)

--> vi /OVS/Repositories/sharedrepo/.ACFS/snaps/<vmname>/VirtualMachines/<vmname>/vm.cfg

5) (as in 1602157.1) For Single User Mode, it is just needed to edit the vm.cfg file and add the below line just after bootloader="/usr/bin/pygrub"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center