How To Reset a User's Password on the Application Server from Terminal
search cancel

How To Reset a User's Password on the Application Server from Terminal

book

Article ID: 287218

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

How to reset a user's password from terminal

Environment

  • EDR Server: All Versions
  • CentOS: All Supported Versions

Resolution

  1. Open a terminal to the EDR server (master in case of a cluster)
  2. Switch User to Root
    #: su root
  3. Run the following command:
#: /usr/share/cb/cbpasswd --reset=<user>

Additional Information

If the username is unknown, run the following command as root user to query the cb_user table to see a list of usernames:

psql -d cb -p 5002 -c "select username from cb_user;"