# Changing elastic password via Kibana doesn't update the yml file

**URL:** <https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065>\
**Category:** Kibana\
**Created:** [November 9, 2017, 4:12pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065 "2017-11-09T16:12:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [November 9, 2017, 4:12pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/1 "2017-11-09T16:12:44Z")

</div>

Using Elasticsearch 5.6.3 with xpack 5.6.3 and Kibana 5.6.3. When going to the elastic option in Kibana and changing Elastics password, it successfully changes for Elasticsearch.

After a While (probably after recycling), Kibana server and Kibana crash. In the Kibana.yml file the password for elasticsearch is still set at the original password. After changing this to be the same as that for elasticsearch and re-starting the kibana server, kibana starts working again.

---

<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:** [November 9, 2017, 9:43pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/2 "2017-11-09T21:43:16Z")

</div>

> [@bilpor](#):
>
> probably after recycling

What does this mean?

---

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [November 9, 2017, 10:01pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/3 "2017-11-09T22:01:50Z")

</div>

Every now and again Kibana suddenly logs me out and I have to sign in again. I'm assuming this is when it recycles. It even does this sometimes when I'm in the middle of typing a query. Nothing responds even when I refresh the browser. I usually have to close the browser at this point and stop and restart the kibana server before it comes back to life. This happens regardless of the browser that I'm using.

---

<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:** [November 9, 2017, 10:03pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/4 "2017-11-09T22:03:19Z")

</div>

This sounds like the cause of the password problem.

What do the Kibana logs show?

---

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [November 10, 2017, 8:34am UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/5 "2017-11-10T08:34:04Z")

</div>

there are no kibana logs. The elastic logs show authentication error's which co-oberates that the kibana.yml file isn't being kept in sync with any password changes made through Kibana. I dont know the products well enough under the hood. It could be an X-Pack issue.

---

<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:** [November 10, 2017, 8:32pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/6 "2017-11-10T20:32:17Z")

</div>

There are no kibana logs at all?  
Not even from when you start the process to when it does this recycling?

---

<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:** [December 8, 2017, 8:32pm UTC](https://discuss.elastic.co/t/changing-elastic-password-via-kibana-doesnt-update-the-yml-file/107065/7 "2017-12-08T20:32:27Z")

</div>

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