Root Password is Unknown

Overview

After I had created the Cloud Control VM (Manually Create Cloud Control VM from Appliance), I found that I did not know the passwords for the system accounts—root, and oracle. There are none given in the README file for the VM instructions.

Status

RESOLVED.

References

Procedure

I used the procedure given in How to Reset "root" Password with GRUB on Enterprise Linux [ID 431260.1].

Shut OVM_EM12R2 VM Down

I used the following command on VICTORIA to shut the VM machine (OVM_EM12R2) down:

xm shutdown OVM_EM12R2

After a few seconds, the following message appeared on the console:

System halted.

Start OVM_EM12R2 VM

I then started the VM machine with the following command:

xm create vm.cfg -c

Change Boot Parameters

When the list of kernels appeared in the console window, I press the a key. Then I changed the following line:

kernel /vmlinuz-2.6.32-200.13.1.el5uek ro root=LABEL=/ numa=off

To the following by appending a 1:

kernel /vmlinuz-2.6.32-200.13.1.el5uek ro root=LABEL=/ numa=off 1

The boot continued.

Connect Using VNCViewer

I then used xtightvncviewer running under Ubunutu to enter single user mode (which does not require a password) to change the passwords for the following user:

    • root
    • oracle

Reboot the OVM_EM12R2 VM

I then rebooted the VM machine:

reboot