Recover the sensu go admin password
I have searched the docs and googled for an answer. Cannot find a solution to this problem.
Description of your problem
Cannot complete # sensuctl configure successfully as the password set for admin is incorrect.
Description of steps you’ve taken to attempt to solve the issue
reviewed the docs
googled for a solution
ran the following:
sensuctl user change-password admin --newpassword relevant34
Error: current password must be provided
So this is not a recovery solution.
Environmental information
Operating system information
- RHEL
- Rocky Linux 8 (RHEL 8 more or less)
Package versions
COMMAND TO GET THE VERSIONS??
Plugin information
- Link to plugin you’re using (i.e., Github or Bonsai)
- Version of the plugin you’re using (you can use
sensuctl asset info $NAMEOFASSET
)
Service logs, configuration, and environment variables
- See the docs site ([Default file locations — Sensu Go documentation](https://docs.Sensu Go.org/en/latest/pages/configuration/file_location.html)) for all file locations
- For all container-based deployments, please include your full, redacted YAML configuration file
NOTE : When posting log output or code snippets (e.g., JSON, YAML, etc.), please surround your code with three backticks like so:
Your code goes here
For longer code or configuration bits, please enclose your snippet in a summary block like this:
Summary of your code snippet or config here
Your code goes inside the triple backticks