Reset root and vcplcm credentials in Cloud provider Lifecycle Manager (vCP-LCM)
book
Article ID: 376341
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Guidance to reset / unlock the root and vcplcm credentials in Cloud provider Lifecycle Manager (vCP-LCM)
Resolution
In order to reset the root password, reboot the machine and enter the grub settings (press E on the boot screen).
There we see a line, starting with linux /$photon_linux... By default in photon OS 4 you have fips enabled and it should be removed here. Remove the last part of that line: amp; fips=1 and then add rw init=/bin/bash
This last part should be removed:
And set like this:
Then hit F10 to boot. After a few seconds we should see a prompt. First run mount -o remount,rw / and then passwd to set a new password. Once the password is set, reboot with reboot -f.
Note: If the user is locked due to too many login attempts, reset the password using this command: /usr/sbin/faillock —user root —reset