# No permissions after installing X-Pack

**URL:** https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582
**Category:** Elasticsearch
**Created:** [April 11, 2018, 7:15am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582 "2018-04-11T07:15:34Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kyuubi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyuubi/32/27304_2.png) [@kyuubi](https://discuss.elastic.co/u/kyuubi)
#### Post date: [April 11, 2018, 7:15am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/1 "2018-04-11T07:15:34Z")

</div>

Hi, I did just install X-Pack for Logstash, Elasticsearch and Kibana. I did put the following in my kibana.yml ' elasticsearch.username: "kibana" and elasticsearch.password: "kibana" ' and I successfully logged into Kibana GUI with that credentials but when I want to perform things in the DevTools section I always get the following error: [https://imgur.com/a/ZDW8a](https://imgur.com/a/ZDW8a) - or when I want to "manage" my users I get the following error: [https://imgur.com/a/hQ8m1](https://imgur.com/a/hQ8m1) - can anyone help me?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [April 11, 2018, 7:26am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/2 "2018-04-11T07:26:00Z")

</div>

Hi there,

You are using the `kibana` user to log in as a user to kibana which is a common mistake, but still a mistake.  
The `kibana` built-in user purpose is to allow Kibana to perform requests to Elasticsearch and should not be used by users.

You should use your `elastic` built-in user, in order to log in to Kibana and then:

1. Create users per your requirements
2. Create roles for your users that give them the necessary permissions to required indices
3. Grant the necessary roles, plus the `kibana_user` role to your users
4. Use the newly created users to access Kibana

---

<div class="post-metadata">

### Author: ![kyuubi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyuubi/32/27304_2.png) [@kyuubi](https://discuss.elastic.co/u/kyuubi)
#### Post date: [April 11, 2018, 7:34am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/3 "2018-04-11T07:34:01Z")

</div>

Oh thanks, yes when I use the user "elastic" I can do everything I want 🙂

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [April 11, 2018, 7:38am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/4 "2018-04-11T07:38:23Z")

</div>

Please keep in mind that our recommendation is that you do not use the `elastic` user for all your day to day tasks. A much better approach would be to use the least privilege design pattern and create users with the exact permissions needed (as opposed to `elastic` who can do pretty much anything) to perform your administrative tasks.

---

<div class="post-metadata">

### Author: ![kyuubi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyuubi/32/27304_2.png) [@kyuubi](https://discuss.elastic.co/u/kyuubi)
#### Post date: [April 11, 2018, 7:42am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/5 "2018-04-11T07:42:29Z")

</div>

Currently, I have a trial version of X-Pack.  
When this trial expires, can I still manage (create) users over the Kibana GUI?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [April 11, 2018, 7:44am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/6 "2018-04-11T07:44:27Z")

</div>

[This](https://www.elastic.co/guide/en/x-pack/current/license-expiration.html) explains what happens when your trial license expires.

---

<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: [May 9, 2018, 7:44am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582/7 "2018-05-09T07:44:38Z")

</div>

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