For local users of the HCX Connector appliance, you configure the password expiration policy on a per-user basis.

Table 1. Default Password Expiration Policy for the HCX Connector Appliance
Local User Setting Default Description
root maxdays -1 Maximum number of days between password change
mindays 0 Minimum number of days between password change
warndays 7 Number of days of warning before a password expires
admin maxdays -1 Maximum number of days between password change
mindays 0 Minimum number of days between password change
warndays 7 Number of days of warning before a password expires

Procedure

  1. Activate Secure Shell (SSH) on the HCX Connector appliance.

    1. Log in to the HCX Connector at https://<hcx_connector_fqdn>:9443 with a user account assigned the Admin role
    2. On the main navigation bar, click Appliance Summary.

    3. On the Appliance Summary page, under System Level Services, start the SSH Service.

  2. Log in to the HCX Connector at <hcx_connector_fqdn>:22 as admin by using a Secure Shell (SSH) client.
  3. Switch to the root user by running the command.
    su -
  4. Change the value of the maximum number of days between password change by running the following command.
    chage --maxdays <your_value> root
  5. Change the value of the minimum number of days between password change by running the following command.
    chage --mindays <your_value> root
  6. Change the value of the number of days of warning before the password expires by running the following command.
    chage --warndays <your_value> root
  7. Repeat the procedure for the admin account.
  8. Deactivate SSH on the HCX Connector appliance.

    1. Log in to the HCX Connector at https://<hcx_connector_fqdn>:9443 again.
    2. Stop the SSH Service.