# Unable to reset the elastic and kibana user password

**URL:** https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [June 6, 2022, 2:13pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464 "2022-06-06T14:13:50Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![manish6.rai](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@manish6.rai](https://discuss.elastic.co/u/manish6.rai)
#### Post date: [June 6, 2022, 2:13pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/1 "2022-06-06T14:13:50Z")

</div>

Hi Elastic Team,

I am unable to reset the elastic and Kibana passwords. Please help getting below error.  
using command for changing the passwords:/usr/share/Elasticsearch/bin/Elasticsearch-reset-password -i -u elastic  
/usr/share/kibana/bin/kibana-reset-password -i -u elastic

Error details:  
ERROR: Failed to determine the health of the cluster.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/8/3838448883d1fb028f973e3c46fa8b1560b3c50a.png)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 6, 2022, 11:47pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/2 "2022-06-06T23:47:17Z")

</div>

Welcome to our community! 😃  
Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

Can you `curl ElasticsearchHost:9200` and see what the response is?

---

<div class="post-metadata">

### Author: ![manish6.rai](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@manish6.rai](https://discuss.elastic.co/u/manish6.rai)
#### Post date: [June 8, 2022, 9:08am UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/3 "2022-06-08T09:08:25Z")

</div>

Hi warkolam,

I have checked from the curl 10.142.124.155:9200 and betting below response

[root@nvmbdsiv013520 ~]# curl 10.142.124.155:9200  
{  
"name" : "node-1",  
"cluster\_name" : "dev-logging",  
"cluster\_uuid" : "x20bKVE-QmOCS0Rs0px45A",  
"version" : {  
"number" : "8.2.2",  
"build\_flavor" : "default",  
"build\_type" : "rpm",  
"build\_hash" : "9876968ef3c745186b94fdabd4483e01499224ef",  
"build\_date" : "2022-05-25T15:47:06.259735307Z",  
"build\_snapshot" : false,  
"lucene\_version" : "9.1.0",  
"minimum\_wire\_compatibility\_version" : "7.17.0",  
"minimum\_index\_compatibility\_version" : "7.0.0"  
},  
"tagline" : "You Know, for Search"  
}

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 8, 2022, 11:36pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/4 "2022-06-08T23:36:21Z")

</div>

And are you still getting that error?

---

<div class="post-metadata">

### Author: ![manish6.rai](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@manish6.rai](https://discuss.elastic.co/u/manish6.rai)
#### Post date: [June 10, 2022, 6:04am UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/5 "2022-06-10T06:04:38Z")

</div>

Yes same error i am getting .

Please suggest.

---

<div class="post-metadata">

### Author: ![Justin\_Cranford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_cranford/32/85302_2.png) [@Justin\_Cranford](https://discuss.elastic.co/u/Justin_Cranford)
#### Post date: [June 14, 2022, 12:49am UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/6 "2022-06-14T00:49:13Z")

</div>

Can you try /\_cluster/health?

---

<div class="post-metadata">

### Author: ![Justin\_Cranford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_cranford/32/85302_2.png) [@Justin\_Cranford](https://discuss.elastic.co/u/Justin_Cranford)
#### Post date: [June 14, 2022, 12:50am UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/7 "2022-06-14T00:50:01Z")

</div>

Is that server configured to be standalone or in a cluster?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [June 14, 2022, 1:41pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/8 "2022-06-14T13:41:14Z")

</div>

I think this might actually be [CLI tools extending BaseRunAsSuperuserCommand should only connect to the local node · Issue #80481 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/80481), @manish6.rai can you  
try with ` /usr/share/kibana/bin/elasticsearch-reset-password -i -u elastic --url http://10.142.124.155:9200`

?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 12, 2022, 1:41pm UTC](https://discuss.elastic.co/t/unable-to-reset-the-elastic-and-kibana-user-password/306464/9 "2022-07-12T13:41:46Z")

</div>

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