You can manually extend the password expiration time to the required number of days for the Carbon Black Cloud Workload appliance. If needed, you can also disable the password expiration permanently.
Procedure
- To extend password expiration time manually.
- SSH to the using appliance the admin credentials.
- Run the following commands and extend the password expiration time to the number of days required, for both root and admin users. The following example shows 180 days. You can replace 180 to the number of days required.
sudo chage -I -1 -m 0 -M 180 -E -1 admin
sudo chage -I -1 -m 0 -M <number of days> -E -1 admin
sudo chage -I -1 -m 0 -M 180 -E -1 root
sudo chage -I -1 -m 0 -M <number of days> -E -1 root
The password expiration time is reset to 180 days.
- To disable the password expiration permanently.
- SSH to the appliance using the admin credentials.
- Run the following commands and disable the password expiration permanently, for both root and admin users.
sudo chage -I -1 -m 0 -M 99999 -E -1 admin
sudo chage -I -1 -m 0 -M 99999 -E -1 root
The password expiration is disabled permanently.