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
- Open a terminal to the EDR server (master in case of a cluster)
- Switch User to Root
#: su root
- 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;"
Feedback
thumb_up
Yes
thumb_down
No