Tried getting into my vMA box today to get some CLI action going and couldn’t log in. Either I couldn’t remember the password, or I managed to fat-finger it twice. So I got to find out the hard way how to get that reset…
Start by opening up the console on the vMA system and send it for a reboot. Once it hits the CentOS screen, hit any key to gain access to the menu
With the CentOS option highlighted, hit “e” to edit the boot command
Now, highlight the “kernel” entry and hit “e” again to edit the command
Enter the word “single” and hit the Enter key
You’ll be returned to the boot command screen, hit “b” to boot the system up. Once the system finishes booting, you should be at a prompt. At this prompt enter in “passwd vi-admin” to change the password on the vi-admin account. The system will now ask for the new password twice and say that the authentication tokens have been updated.
At this point, reboot the system via “shutdown -r now”. Once the system reboots, you should return to the normal vMA screen. Hit F2 to reach the terminal and make sure you can log in, it should be successful.