If you are locked out of the Carbon Black Cloud Workload appliance that has admin privileges, you can reset the password.

Procedure

  1. From your browser, log in to the Carbon Black Cloud Workload appliance at https://<appliance IP address> using the admin credentials.
  2. Verify if the admin account is locked using the pam_tally2 -u admin command.
  3. If the admin account is locked, then use the following command to unlock:
    pam_tally2 -r -u admin
  4. To change the admin user password.
    1. SSH to the Carbon Black Cloud Workload appliance using the admin credentials.
      For example, SSH admin@<Appliance_IP_Address>.
    2. Use the passwd admin command.
    3. Enter the current password and then the password that you want, and note it for the future reference.
      Note: Do not use the last five passwords. The password must have at least eight characters. Enter a password that meets with the basic complexity, as at least one number, one lower case letter, one upper case letter, and one special character.
    4. Reenter the admin password.
      The Carbon Black Cloud Workload appliance admin user password is changed.
  5. To reset the expired password. The appliance password automatically expires after 90 days.
    1. SSH to the Carbon Black Cloud Workload appliance using the admin credentials.
    2. When prompted for a password, enter the admin password that you want, and note it for the future reference.
      Note: Do not use the last five passwords. The password must have at least eight characters. Enter a password that meets with the basic complexity, as at least one number, one lower case letter, one upper case letter, and one special character.
    3. Reenter the admin password.
      The password is changed successfully.
    4. SSH to the Carbon Black Cloud Workload appliance again to verify that the password change is successful.
    5. Now log in to the Carbon Black Cloud Workload appliance UI with the admin user name and the changed password.
  6. To reset the root password.
    Note: By default, SSH access for the root user is disabled on the Carbon Black Cloud Workload appliance for security reasons.
    1. SSH to the Carbon Black Cloud Workload appliance using the admin credentials.
    2. Reset the password using the following commands.
      sudo su
      passwd root
    3. Enter the current password and then the password that you want, and note it for the future reference.
      Carbon Black Cloud Workload appliance root user password is changed.