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 |
99999 | 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 |
-1 | Minimum number of days between password change | |
warndays |
-1 | Number of days of warning before a password expires |
Procedure
- 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.