# Reset Built-in users

**URL:** <https://discuss.elastic.co/t/reset-built-in-users/259003>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 17, 2020, 2:10pm UTC](https://discuss.elastic.co/t/reset-built-in-users/259003 "2020-12-17T14:10:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charly\_ROCH](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/charly_roch/32/81051_2.png) [@Charly\_ROCH](https://discuss.elastic.co/u/Charly_ROCH)\
**Post date:** [December 17, 2020, 2:10pm UTC](https://discuss.elastic.co/t/reset-built-in-users/259003/1 "2020-12-17T14:10:40Z")

</div>

I am building elasticsearch cluster with SSL following this tutorial :

> **[Configuring SSL, TLS, and HTTPS to secure Elasticsearch, Kibana, Beats, and...](https://www.elastic.co/blog/configuring-ssl-tls-and-https-to-secure-elasticsearch-kibana-beats-and-logstash)**
>
> Feeling insecure about your Elastic Stack security? Run through these step-by-step instructions for setting up TLS encryption and https on Elasticsearch, Kibana, Logstash, and Beats to shore up your stack's defenses. Highly recommended for end-to-end...

My first node is a debian with elastic running as a service. I ran the command : _bin/elasticsearch-setup-passwords auto_

But when listing users with _bin/elasticsearch-users list_ I get a : _No users found_

Is there a way to reset all Built-in users password ? Or at least to list these built-in users

PS : I am trying to automate the deployment with ansible and setting these passwords is giving me a hard time.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 18, 2020, 3:57am UTC](https://discuss.elastic.co/t/reset-built-in-users/259003/2 "2020-12-18T03:57:34Z")

</div>

You will generally get better results from reading the official documentation than from blog posts.  
Blog posts can be useful for clarifying a specific use case, but they cannot go into enough depth to walk you through how features work.

Instead, you should start here: [Configure security in Elasticsearch | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html)

> [@Charly\_ROCH](#):
>
> But when listing users with _bin/elasticsearch-users list_ I get a : _No users found_

That [utility](https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html) lists users in the _file_ realm. The builtin users are not in the file realm - instead you need to use the [Get Users API](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html)

---

<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:** [January 15, 2021, 3:57am UTC](https://discuss.elastic.co/t/reset-built-in-users/259003/3 "2021-01-15T03:57:39Z")

</div>

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