# X-pack 6.0 Built-in password is not allow to login kibana

**URL:** <https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051>\
**Category:** Kibana\
**Created:** [November 17, 2017, 2:37am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051 "2017-11-17T02:37:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce\_gao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruce_gao/32/24361_2.png) [@bruce\_gao](https://discuss.elastic.co/u/bruce_gao)\
**Post date:** [November 17, 2017, 2:37am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051/1 "2017-11-17T02:37:53Z")

</div>

**According to the official website of the latest tutorial, I tried a new installation of the 6.0 version of my server aws, using aws linux system, elasticsearch and kibana are installed on a machine, but my kibana can not start the login function, the following is my Installation process:**

> Blockquote  
> wget [https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.0.0.rpm](https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.0.0.rpm)  
> rpm -ivh elasticsearch-6.0.0.rpm

wget [https://artifacts.elastic.co/downloads/kibana/kibana-6.0.0-x86\_64.rpm](https://artifacts.elastic.co/downloads/kibana/kibana-6.0.0-x86_64.rpm)  
rpm -ivh kibana-6.0.0-x86\_64.rpm

service elasticsearch start  
/usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack  
/usr/share/elasticsearch/bin/x-pack/setup-passwords auto

/usr/share/kibana/bin/kibana-plugin install x-pack

**this is my setup-passwords, and my modify kibana.yml elasticsearch.username, elasticsearh.password**

> Blockquote  
> /usr/share/elasticsearch/bin/x-pack/setup-passwords auto  
> Initiating the setup of reserved user elastic,kibana,logstash\_system passwords.  
> The passwords will be randomly generated and printed to the console.  
> Please confirm that you would like to continue [y/N]y

Changed password for user kibana  
PASSWORD kibana = aiQTxnjMwknwnF42-7wB

Changed password for user logstash\_system  
PASSWORD logstash\_system = 2ygbHwG#R4sr\*Ikv3hAB

Changed password for user elastic  
PASSWORD elastic = dh33f3t%B$%q#inok?ek

**this is kibana log error**

Login is currently disabled. Administrators should consult the Kibana logs for more details.

**I have been tossing for 2 days, asking for help, thank you very much!**

---

<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:** [November 17, 2017, 4:46am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051/2 "2017-11-17T04:46:09Z")

</div>

> my modify kibana.yml

What exactly did you put in your kibana.yml ?

> Administrators should consult the Kibana logs for more details.

What do the Kibana logs say?

---

<div class="post-metadata">

**Author:** ![bruce\_gao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruce_gao/32/24361_2.png) [@bruce\_gao](https://discuss.elastic.co/u/bruce_gao)\
**Post date:** [November 17, 2017, 6:59am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051/3 "2017-11-17T06:59:13Z")

</div>

elasticsearch.username: "xxx"  
elasticsearch.password: "xxx"

my set kibana.yml the setup-passwords elasitc user and pass

---

<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:** [November 17, 2017, 9:19am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051/4 "2017-11-17T09:19:06Z")

</div>

You shouldn't use the `elastic` user for connecting Kibana to Elasticsearch. That is what the`kibana` user is for. The elastic user has superuser privileges and it is not a good idea to run Kibana with those privileges.

Kibana will default to using the `kibana` user, so you just need to configure the `elasticsearch.password` setting to match the Kibana user's password.

However the issue here is that you have a connectivity issue between Kibana and Elasticsearch, and to diagnose that, we need to see the Kibana logs.

---

<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 15, 2017, 9:19am UTC](https://discuss.elastic.co/t/x-pack-6-0-built-in-password-is-not-allow-to-login-kibana/108051/5 "2017-12-15T09:19:47Z")

</div>

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