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

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