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.
- 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> rootFor 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
- To list the current password expiry policy of the root user, enter the following command:
chage -l root