For local users of the HCX Connector appliance, you configure the password expiration policy on a per-user basis.
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
-
Activate Secure Shell (SSH) on the HCX Connector appliance.
- Log in to the HCX Connector at https://<hcx_connector_fqdn>:9443 with a user account assigned the Admin role
-
On the main navigation bar, click Appliance Summary.
-
On the Appliance Summary page, under System Level Services, start the SSH Service.
- Log in to the HCX Connector at <hcx_connector_fqdn>:22 as admin by using a Secure Shell (SSH) client.
- Switch to the root user by running the command.
su -
- Change the value of the maximum number of days between password change by running the following command.
chage --maxdays <your_value> root
- Change the value of the minimum number of days between password change by running the following command.
chage --mindays <your_value> root
- Change the value of the number of days of warning before the password expires by running the following command.
chage --warndays <your_value> root
- Repeat the procedure for the admin account.
-
Deactivate SSH on the HCX Connector appliance.
- Log in to the HCX Connector at https://<hcx_connector_fqdn>:9443 again.
- Stop the
SSH Service
.