# How to create users in Kibana and enable role management in Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-create-users-in-kibana-and-enable-role-management-in-kibana/166514>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [January 31, 2019, 9:49am UTC](https://discuss.elastic.co/t/how-to-create-users-in-kibana-and-enable-role-management-in-kibana/166514 "2019-01-31T09:49:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [January 31, 2019, 1:44pm UTC](https://discuss.elastic.co/t/how-to-create-users-in-kibana-and-enable-role-management-in-kibana/166514/6 "2019-01-31T13:44:58Z")

</div>

> [@aditya\_kanekar](#):
>
> I have installed Elastic Search using deb packages following the instructions in this article,

This document instructs you to use nginx in front of Kibana to authenticate the users. This might have been a valid option when you didn't have security enabled but there really is _no_ reason for you to keep nginx. Kibana can handle the authentication itself.

> [@aditya\_kanekar](#):
>
> `echo "kibanaadmin:` openssl passwd -apr1 `" | sudo tee -a /etc/nginx/htpasswd.users`

As you can see from the command you entered, this is _not_ a Kibana user, it is an **nginx** user.

My suggestion is to remove nginx and follow our [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html) for configuring security for the Elastic stack

---

_[View the full topic](https://discuss.elastic.co/t/how-to-create-users-in-kibana-and-enable-role-management-in-kibana/166514)._
