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

  1. To extend password expiration time manually:
    1. SSH to the Carbon Black Cloud Workload Appliance using admin credentials.
    2. 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
  2. To disable the password expiration permanently:
    1. SSH to the appliance using admin credentials.
    2. 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