You can extend the password expiration time manually to number of days required for the AppDefense Appliance. If needed, you can also disable the password expiration permanently.

Solution

  1. To extend password expiration time manually.
    1. SSH to the AppDefense 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 user. The following example shows 180 days. You can replace 180 to 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. You can disable the password expiration permanently for the AppDefense Appliance. To disable the password expiration permanently.
    1. SSH to the AppDefense Appliance using the admin credentials.
    2. Run the following commands and disable the password expiration permanently, for both root and admin user.
      sudo chage -I -1 -m 0 -M 99999 -E -1 admin
      sudo chage -I -1 -m 0 -M 99999 -E -1 root
      Note: Do not to use -M -1 in place of -M 99999. The use of -M -1 is not supported for the 2.3.1 release.
    The password expiration is disabled permanently.
    Note: If you upgrade AppDefense Appliance, the value for the number of days before the password expiration begins to display the password expiration warning (-W) is reset to zero. By default, the warning is displayed 10 days before the password expires and you cannot configure the value in the 2.3.1 release.