You can manually extend the password expiration time to the required number of days for the Carbon Black Cloud Workload Appliance. You can also disable the password expiration permanently.
Procedure
- To extend password expiration time manually:
- SSH to the Carbon Black Cloud Workload Appliance using admin credentials.
- Run the following commands and extend the password expiration time to the required number of days for both root and admin users. The following example shows 180 days.
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
- To disable the password expiration permanently:
- SSH to the appliance using 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