# How to recover the sensu go admin password if it has been forgotten

**URL:** <https://discourse.sensu.io/t/how-to-recover-the-sensu-go-admin-password-if-it-has-been-forgotten/3298>\
**Category:** Sensu Go\
**Created:** [December 10, 2024, 10:26pm UTC](https://discourse.sensu.io/t/how-to-recover-the-sensu-go-admin-password-if-it-has-been-forgotten/3298 "2024-12-10T22:26:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ice](https://avatars.discourse-cdn.com/v4/letter/i/aeb1de/32.png) [@ice](https://discourse.sensu.io/u/ice)\
**Post date:** [December 10, 2024, 10:26pm UTC](https://discourse.sensu.io/t/how-to-recover-the-sensu-go-admin-password-if-it-has-been-forgotten/3298/1 "2024-12-10T22:26:44Z")

</div>

# 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](https://docs.Sensu) [Go.org/en/latest/pages/configuration/file\_location.html](http://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:

```auto
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**
>
> ```auto
> Your code goes inside the triple backticks
> 
> ```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/sensu/original/1X/ad88ecc0d60777fbbb8dad05fe976fca2a4d87b2.jpeg) [@system](https://discourse.sensu.io/u/system)\
**Post date:** [January 9, 2025, 10:27pm UTC](https://discourse.sensu.io/t/how-to-recover-the-sensu-go-admin-password-if-it-has-been-forgotten/3298/2 "2025-01-09T22:27:25Z")

</div>

Closed on January 9, 2025, 10:27pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
