You can change the password for the root user on an vCloud Director or Cloud Proxy instance.

Prerequisites

Verify that the new password meets the corporate requirements for password complexity of your organization.

Procedure

  1. Log in to vCloud Director or Cloud Proxy instance through SSH.

    You must use root credentials.

  2. Run the passwd root command.
  3. Follow the on-screen prompts to enter a new or confirmation password for the root user.
  4. Reconfigure the associated vSphere Replication Cloud Service host.
    1. Log in to the vCloud Availability Installer Appliance.
    2. Run the following command.

      Standard Command

      Command Using Registry

      # vcav hcs configure \
      --reconfigure \
      --hcs-address=$HCS_ADDRESS \
      --amqp-password-file=~/.ssh/.amqp \
      --cassandra-replication-factor=number-of-Cassandra-nodes \
      --vcd-address=$VCD_ADDRESS \
      --vcd-user=$VCD_USER \
      --vcd-password-file=~/.ssh/.vcd \
      --sso-user=$SSO_USER \
      --sso-password-file=~/.ssh/.sso 
      # vcav hcs configure \
      --reconfigure \
      --hcs-address=$HCS_ADDRESS \
      --amqp-password-file=~/.ssh/.amqp \
      --cassandra-replication-factor=number-of-Cassandra-nodes \
      --vcd=vcd-01-name