Purpose
Provide guidance on recovery of root or ccadmin account in Horizon 8 Edge appliance.
Resolution
Reset the Root Password for Horizon 8 edge appliance
To reset the root password, you must set certain parameters during the appliance's restart sequence.
Use vSphere Client to launch the console for the Horizon 8 Edge appliance. Click inside the console window to make the cursor active in the console.Use vSphere Client to restart the appliance. As soon as the OS splash screen appears, type e to open the GNU GRUB editor.
Note: You must type e quickly because the OS splash screen appears only momentarily. If you are unable to open the GNU GRUB editor in time, restart the appliance and try again.
In the GNU GRUB editor, find the line that begins with linux. At the end of this line, add a space followed by rw init=/bin/bash.
The following screenshot shows an example of the GNU GRUB editor after you modify the line.
Press F10 to resume the appliance restart.At the command prompt, run the following command.
pam_tally2 --user=root --reset
At the command prompt, type passwd. Then type and reenter the new root password
Note: Ensure that the new password meets the security standards of a strong password. Verify that the password contains a minimum of eight characters with at least one capital, one numeric, and one special character.
The following output appears when the password reset is complete.
passwd: password updated successfully
To check status of root account: pam_tally2 -u root
If locked run:
pam_tally2 -u root --reset
Run the following sequence of commands.
umount /
reboot -f
Reset the ccadmin Password for Horizon 8 Edge Appliance
Use the following procedure to reset the ccadmin password if you are unable to log in as the ccadmin user. For example, the ccadmin account locks automatically after multiple authentication failures.
Use vSphere Client to launch the console for the Horizon 8 edge appliance and log in to the appliance as the root user.Run the following command.
pam_tally2 --user=ccadmin --reset
Set the new password for the ccadmin account by running following command
passwd ccadmin