Skip to main content

October 15, 2025

Set a Password Expiry Policy for the Horizon Cloud Connector Root User

When deploying the Horizon Cloud Connector OVA into your vSphere environment, the deployment process requires you to set the password for the root user. 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 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 Cloud Connector virtual appliance does not notify administrators about password expiry.

The chage command (short for "change age") is a Linux command to manage account aging parameters.

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
    

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…