# Kibana User Can Not Log In

**URL:** <https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624>\
**Category:** Elasticsearch\
**Created:** [July 3, 2019, 6:54am UTC](https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624 "2019-07-03T06:54:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeniffer](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@Jeniffer](https://discuss.elastic.co/u/Jeniffer)\
**Post date:** [July 3, 2019, 6:54am UTC](https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624/1 "2019-07-03T06:54:29Z")

</div>

I Enabeld Xpack in elasticsearch.yml.  
In kibana.yml I added: Elastisearch.usrname: kibana  
Elasticsearch.password:my password  
but itt only allows me to log in with elastic user.  
I tried using Incognito and to deleted my stored cookies, it didnt help.  
I also tried to create a new user giving him a role of kibana user, when i try to log in with the new user kibana displays invalid user name or password.  
How can I log in with a different user other then elastic?

---

<div class="post-metadata">

**Author:** ![Gidi\_Kalef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gidi_kalef/32/43651_2.png) [@Gidi\_Kalef](https://discuss.elastic.co/u/Gidi_Kalef)\
**Post date:** [July 3, 2019, 2:18pm UTC](https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624/2 "2019-07-03T14:18:51Z")

</div>

> [@Jeniffer](#):
>
> I also tried to create a new user giving him a role of kibana user, when i try to log in with the new user kibana displays invalid user name or password.

What is the role that the other user associated with?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [July 4, 2019, 5:25am UTC](https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624/3 "2019-07-04T05:25:45Z")

</div>

The more details you provide, the easier it is to help you.

Can you please provide your exact setup, including:

- your elasticsearch.yml file
- the details of the user you are trying to login as.

---

<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:** [August 1, 2019, 5:25am UTC](https://discuss.elastic.co/t/kibana-user-can-not-log-in/188624/4 "2019-08-01T05:25:48Z")

</div>

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