# Reset admin password for Kibana

**URL:** <https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315>\
**Category:** Kibana\
**Created:** [January 27, 2018, 4:39pm UTC](https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315 "2018-01-27T16:39:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![puck](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@puck](https://discuss.elastic.co/u/puck)\
**Post date:** [January 27, 2018, 4:39pm UTC](https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315/1 "2018-01-27T16:39:39Z")

</div>

Hi,  
I'm locked out of the admin page for our Kibana instance. I have a root shell on the box and can access all configurations. How do I go about resetting the admin password, so I can login to Kibana as admin? I can authenticate as kibana user, but I get this message when I try to manager users, "You do not have permission to manage users."

---

<div class="post-metadata">

**Author:** ![jpcarey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpcarey/32/46668_2.png) [@jpcarey](https://discuss.elastic.co/u/jpcarey)\
**Post date:** [January 28, 2018, 3:02am UTC](https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315/2 "2018-01-28T03:02:51Z")

</div>

You can use the file realm to add a temporary user that has the superuser role. You can then use this user to reset the password for the elastic user.

---

<div class="post-metadata">

**Author:** ![puck](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@puck](https://discuss.elastic.co/u/puck)\
**Post date:** [January 28, 2018, 4:05pm UTC](https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315/3 "2018-01-28T16:05:04Z")

</div>

Thank you. That worked.

---

<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:** [February 25, 2018, 4:05pm UTC](https://discuss.elastic.co/t/reset-admin-password-for-kibana/117315/4 "2018-02-25T16:05:29Z")

</div>

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