# Errors with elasticsearch-users useradd -- 7.17.1

**URL:** <https://discuss.elastic.co/t/errors-with-elasticsearch-users-useradd-7-17-1/312070>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [August 15, 2022, 2:28am UTC](https://discuss.elastic.co/t/errors-with-elasticsearch-users-useradd-7-17-1/312070 "2022-08-15T02:28:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [August 15, 2022, 7:31pm UTC](https://discuss.elastic.co/t/errors-with-elasticsearch-users-useradd-7-17-1/312070/4 "2022-08-15T19:31:26Z")

</div>

bingo!

```auto
search@secesprd02:~$ ls -ld /etc/elasticsearch/
drwxr-xr-x 5 root root 4096 Aug 8 12:17 /etc/elasticsearch/

```

Thanks Tim!

BTW I was working from the wonderfully detailed instructions that you posted in [this](https://discuss.elastic.co/t/x-pack-authentication-issue/121632) thread.

Just btw those instruction are now slightly out of date: `bin/x-pack/users useradd...` is now ` bin/elasticsearch-users useradd`, at least at 7.17.

An aside: one of the features I dislike in this forum is that threads get closed after a month of inactivity. This prevents good answers being enhanced by new insights or changes in ES. The latter is particularly critical for ES which evolves fast.

Compare this with the Stack Exchange based forums where good answers are frequently updated for years afterward. Also completely new answers are added as new capabilities are added to systems. This again is very relevant to ES!

---

_[View the full topic](https://discuss.elastic.co/t/errors-with-elasticsearch-users-useradd-7-17-1/312070)._
