# Elastic Password reset

**URL:** https://discuss.elastic.co/t/elastic-password-reset/245578
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [August 19, 2020, 10:02am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578 "2020-08-19T10:02:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bhargav\_bharat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhargav_bharat/32/58025_2.png) [@bhargav\_bharat](https://discuss.elastic.co/u/bhargav_bharat)
#### Post date: [August 19, 2020, 10:02am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/1 "2020-08-19T10:02:32Z")

</div>

Whenever I try to reset password of elastic, I am getting bellow mention error:

Request:  
curl -u user:Password -XPUT '[http://localhost:9200/\_xpack/security/user/elastic/\_password?pretty](http://localhost:9200/_xpack/security/user/elastic/_password?pretty)' -H 'Content-Type: application/json' -d'  
{  
"password" : "New Password"  
}  
'

Error:  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "cluster\_block\_exception",  
"reason" : "index [.security-7] blocked by: [FORBIDDEN/4/index closed];"  
}  
],  
"type" : "cluster\_block\_exception",  
"reason" : "index [.security-7] blocked by: [FORBIDDEN/4/index closed];"  
},  
"status" : 403  
}

---

<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: [August 19, 2020, 9:12pm UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/2 "2020-08-19T21:12:39Z")

</div>

Did you run out of disk space on your cluster/nodes?  
If so check out [Why am I seeing a "FORBIDDEN/N/index read-only / allow delete" response against my index?](https://discuss.elastic.co/t/why-am-i-seeing-a-forbidden-n-index-read-only-allow-delete-response-against-my-index/244344) and then try again.

---

<div class="post-metadata">

### Author: ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)
#### Post date: [August 20, 2020, 6:53am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/3 "2020-08-20T06:53:16Z")

</div>

Won't that give a read-only error? This index seems closed, which seems weird for the security index unless it was done by someone, etc.

---

<div class="post-metadata">

### Author: ![bhargav\_bharat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhargav_bharat/32/58025_2.png) [@bhargav\_bharat](https://discuss.elastic.co/u/bhargav_bharat)
#### Post date: [August 20, 2020, 7:06am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/4 "2020-08-20T07:06:15Z")

</div>

Thank you Steve,

It was closed at that time and now It's working after opening the indices.

---

<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: [August 21, 2020, 12:27am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/5 "2020-08-21T00:27:45Z")

</div>

Yep, good catch.

---

<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: [September 18, 2020, 12:27am UTC](https://discuss.elastic.co/t/elastic-password-reset/245578/6 "2020-09-18T00:27:51Z")

</div>

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