# Changing Kibana Password on Container

**URL:** <https://discuss.elastic.co/t/changing-kibana-password-on-container/201869>\
**Category:** Kibana\
**Created:** [October 1, 2019, 8:56pm UTC](https://discuss.elastic.co/t/changing-kibana-password-on-container/201869 "2019-10-01T20:56:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fjareta](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@fjareta](https://discuss.elastic.co/u/fjareta)\
**Post date:** [October 1, 2019, 8:56pm UTC](https://discuss.elastic.co/t/changing-kibana-password-on-container/201869/1 "2019-10-01T20:56:14Z")

</div>

Hello guys! I have a problem and I can't solve it. I changed the default Elastic user password to one of my own, however I had some errors. I try to go back with the default password "changeme", but even changing the compose file, deleting all containers and images, I can't access Kibana because I changed the elastic user password and I can't go back to the default before . Can someone help me? I am using the -Xmx256m plugin. Thanks.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 4, 2019, 11:13am UTC](https://discuss.elastic.co/t/changing-kibana-password-on-container/201869/2 "2019-10-04T11:13:46Z")

</div>

The file realm would be your best bet for recovering:  
[https://www.elastic.co/guide/en/elastic-stack-overview/current/file-realm.html](https://www.elastic.co/guide/en/elastic-stack-overview/current/file-realm.html)

---

<div class="post-metadata">

**Author:** ![fjareta](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@fjareta](https://discuss.elastic.co/u/fjareta)\
**Post date:** [October 4, 2019, 8:33pm UTC](https://discuss.elastic.co/t/changing-kibana-password-on-container/201869/3 "2019-10-04T20:33:37Z")

</div>

Thank you for reply my doubt. The solution that i found was to delete the volumes on docker, so i recreate everything again. The problem was why i didn't change the password in file from kibana and logstash. I was changed only in browser kibana, for it the error.

---

<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:** [November 1, 2019, 8:33pm UTC](https://discuss.elastic.co/t/changing-kibana-password-on-container/201869/4 "2019-11-01T20:33:42Z")

</div>

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