# Issue securing Elasticsearch : elasticsearch-setup-passwords not installed

**URL:** <https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 23, 2021, 3:12pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821 "2021-12-23T15:12:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dannymccaslin](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dannymccaslin](https://discuss.elastic.co/u/dannymccaslin)\
**Post date:** [December 23, 2021, 3:12pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821/1 "2021-12-23T15:12:33Z")

</div>

I have a three-node Elasticsearch cluster running 6.8.22 and I'm trying to add passwords following the instructions here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/security-minimal-setup.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-minimal-setup.html). However, I don't have Elasticsearch-setup-passwords installed. I found documentation for how to install them but got a warning message indicating that it can't install on oss versions, and Googleing that warning took me right back to the original document I was working from. Here is the contents of my Elasticsearch bin directory:

```auto
$ ls /usr/share/elasticsearch/bin
elasticsearch elasticsearch-env elasticsearch-plugin elasticsearch-translog
elasticsearch-cli elasticsearch-keystore elasticsearch-shard

```

Is there something else that I need to do to turn this feature on? Here is my version/build information:

```auto
"version" : "6.8.22",
      "build_flavor" : "oss",
      "build_type" : "rpm",
      "build_hash" : "71fcb50",

```

Thank you for the assistance

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 23, 2021, 9:30pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821/2 "2021-12-23T21:30:05Z")

</div>

You need to get the default distribution to have Security included 🙂

---

<div class="post-metadata">

**Author:** ![dannymccaslin](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dannymccaslin](https://discuss.elastic.co/u/dannymccaslin)\
**Post date:** [December 27, 2021, 1:02pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821/3 "2021-12-27T13:02:30Z")

</div>

Is it possible to upgrade from the oss distribution to the default distribution?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 28, 2021, 9:17pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821/4 "2021-12-28T21:17:15Z")

</div>

Yes, just switch to using the default distro.

---

<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 25, 2022, 9:17pm UTC](https://discuss.elastic.co/t/issue-securing-elasticsearch-elasticsearch-setup-passwords-not-installed/292821/5 "2022-01-25T21:17:59Z")

</div>

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