# Not able to ADD USERS in shield. Please Help!

**URL:** https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [October 25, 2016, 10:03am UTC](https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854 "2016-10-25T10:03:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amits](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@amits](https://discuss.elastic.co/u/amits)
#### Post date: [October 25, 2016, 10:03am UTC](https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854/1 "2016-10-25T10:03:24Z")

</div>

Hi all,  
@magnusbaeck

I am not able to add users in my ES. I installed the Shield also.  
It is giving the Following ERROR in ES log:

2016-10-25 14:46:41,158][WARN][shield.authc.esusers] [NTP-node] no users found in users file [/home/amits/ELK-deploy/elasticsearch-2.4.0/config/shield/users]. use bin/shield/esusers to add users and role mappings  
[2016-10-25 14:46:41,161][WARN][shield.authc.esusers] [NTP-node] no entries found in users\_roles file [/home/amits/ELK-deploy/elasticsearch-2.4.0/config/shield/users\_roles]. use bin/shield/esusers

And while ADDING USERS it thows the following ERROR:

amits@iedev005 shield]$ ./esusers useradd aad  
ERROR: The configuration directory [/etc/elasticsearch/shield] does not exist. The esusers tool expects Shield configuration files in that location.  
The plugin may not have been installed with the correct configuration path. If [/home/amits/ELK-deploy/elasticsearch-2.4.0/config/shield] exists, please copy the shield directory to [/etc/elasticsearch]

Then I copy the shield directory to [/etc/elasticsearch], still the ERROR is coming.  
Now what to do? Please help someone...

NOTE:- I am running my ES instance from the /path/to/ES directory/bin/elasticsearch.

---

<div class="post-metadata">

### Author: ![amits](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@amits](https://discuss.elastic.co/u/amits)
#### Post date: [October 25, 2016, 12:50pm UTC](https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854/2 "2016-10-25T12:50:55Z")

</div>

what may be the issue here??  
plz help @jaymode and @slee

---

<div class="post-metadata">

### Author: ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)
#### Post date: [October 25, 2016, 1:49pm UTC](https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854/3 "2016-10-25T13:49:38Z")

</div>

How did you install elasticsearch? What is your configuration directory? Do you now have a `/etc/elasticsearch/shield` directory? Is the user able to access that directory and read/write to it?

---

<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: [July 6, 2017, 1:41pm UTC](https://discuss.elastic.co/t/not-able-to-add-users-in-shield-please-help/63854/4 "2017-07-06T13:41:32Z")

</div>


