Due to this OS platform change, it is worth to get information on how to reset root account password in case we loose it.
We will have to reboot the vCSA appliance in order to access the GRUB boot loader menu options.
The steps below will show you how to Reset root password in vCenter Server appliance (VCSA) 6.5, but some precautions shall always be taken. I’d highly recommend to backup the VCSA appliance first, or at least take a snapshot.
The steps below will show you how to Reset root password in vCenter Server appliance (VCSA) 6.5, but some precautions shall always be taken. I’d highly recommend to backup the VCSA appliance first, or at least take a snapshot.
- Gracefully shut down the vCSA appliance and Take a snapshot.
- Start the VCSA appliance and when the VM starts to boot (PhtonOS splash screen as in screenshot below).
- Press “e” on your keyboard to access the GRUB boot menu.
- Append the rw init=/bin/bash to the line which ends with “consoleblank=0” as shown in image below.
- Press F10 key to continue booting process.
- You will be presented with root prompt in red colour.
- Enter "passwd" command and hit enter. Enter new password details.
- Unmount the filesystem by running "umount" command
- Reboot the appliance with "reboot" command as in image below. You can also use web client or host client to do this task.
- Once rebooted, verify that you are able to login with new details.
- Remove the snapshot taken in Step one if applicable.
Cheers!!!!
No comments:
Post a Comment