You can set the password for the root user of the Horizon 7 Cloud Connector virtual appliance during deployment. By default, this password does not expire. However, based on the user's security policy, you might need to periodically update the root password by setting an expiry policy for the root user.

Note: You must enter all commands as the root user after you log in to the Horizon 7 Cloud Connector virtual appliance. If the user sets a custom password expiry policy, it is your responsibility as an administrator to periodically log in and update the password before it expires. The Horizon 7 Cloud Connector virtual appliance does not notify administrators about password expiry.

Procedure

  1. To set an expiry policy for the password for the root user, enter the following command:
    chage -M <Max days before password change> -W <Number of days of warning before password expires> root
    For example, if you want the password to expire after 365 days from the date of password change with a 30-day warning period before the password expires, enter the following command:
    chage -M 365 -W 30 root
  2. To list the current password expiry policy of the root user, enter the following command:
    chage -l root