Use the steps in this topic to reset the password for the root or ccadmin user of the Horizon Cloud Connector appliance if you have lost the original password or want to change it.

Reset the Root Password for Horizon Cloud Connector

To reset the root password, you must set certain parameters during the appliance's restart sequence.

  1. Use vSphere Client to launch the console for the Horizon Cloud Connector virtual appliance. Click inside the console window to make the cursor active in the console.
  2. 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.
  3. 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.


    GNU GRUB Editor
  4. Press F10 to resume the appliance restart.
  5. At the command prompt, run the following command.
    pam_tally2 --user=root --reset
  6. 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
  7. Run the following sequence of commands.
    umount /
    reboot -f

After the appliance restarts, you can log in using the new root password.

Reset the ccadmin Password for Horizon Cloud Connector

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.

  1. Use vSphere Client to launch the console for the Horizon Cloud Connector virtual appliance and log in to the appliance as the root user.
  2. Run the following command.
    pam_tally2 --user=ccadmin --reset
  3. Set the new password for the ccadmin account.
    passwd ccadmin
    
    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.