# How to add new user into elastic search

**URL:** <https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517>\
**Category:** Search Guard\
**Created:** [May 31, 2019, 1:02pm UTC](https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517 "2019-05-31T13:02:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manikantaks](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Manikantaks](https://forum.search-guard.com/u/Manikantaks)\
**Post date:** [May 31, 2019, 1:02pm UTC](https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517/1 "2019-05-31T13:02:51Z")

</div>

I disabled the enterprise modules . I want add user into search guard .  
I tried adding user in sg\_internal\_users.yml as guided “[Internal users database | Security for Elasticsearch | Search Guard](https://docs.search-guard.com/latest/internal-users-database)”. But could not log in . Could i get suggestions on that.

Regards - Mani.

---

<div class="post-metadata">

**Author:** ![jkressin](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/jkressin/32/9_2.png) [@jkressin](https://forum.search-guard.com/u/jkressin)\
**Post date:** [May 31, 2019, 3:20pm UTC](https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517/2 "2019-05-31T15:20:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![jkressin](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/jkressin/32/9_2.png) [@jkressin](https://forum.search-guard.com/u/jkressin)\
**Post date:** [May 31, 2019, 3:23pm UTC](https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517/3 "2019-05-31T15:23:01Z")

</div>

Hi,

there are some “first steps” chapters in the docs that describe how to add new users step-by-step.

For V7 please start here:

> **[Adding users](https://docs.search-guard.com/latest/first-steps-user-configuration)**
>
> How to add new Search Guard users by using sgctl and the Search Guard configuration.

For V6 please start here:

> **[Adding users](https://docs.search-guard.com/6.x-25/first-steps-user-configuration)**
>
> How to add new Search Guard users by using sgctl and the Search Guard configuration.

If you have problems with users or permissions, there are two troubleshooting guides as well:

> **[User and roles troubleshooting](https://docs.search-guard.com/6.x-25/troubleshooting-search-guard-user-roles)**
>
> How to troubleshoot problems with users and roles in an Search Guard secured Elasticsearch cluster.

> **[Permissions troubleshooting](https://docs.search-guard.com/6.x-25/troubleshooting-search-guard-permission)**
>
> Step-by-step instructions on how to troubleshoot issues with Search Guard roles and permissions.

Let me know if this helps. Otherwise please post your configuration and add some steps to reproduce.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)\
**Post date:** [June 21, 2019, 3:23pm UTC](https://forum.search-guard.com/t/how-to-add-new-user-into-elastic-search/1517/4 "2019-06-21T15:23:02Z")

</div>

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