# X-Pack Security course outdated?

**URL:** https://discuss.elastic.co/t/x-pack-security-course-outdated/151495
**Category:** Elastic Training
**Created:** [October 8, 2018, 4:32pm UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495 "2018-10-08T16:32:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![joaociocca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaociocca/32/15827_2.png) [@joaociocca](https://discuss.elastic.co/u/joaociocca)
#### Post date: [October 8, 2018, 4:32pm UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/1 "2018-10-08T16:32:06Z")

</div>

(edit) I totally forgot The first error I actually get is when trying to install X-Pack, where I get the error that X-Pack is already installed!

According to Lab 1, available on the package at [https://training.elastic.co/user/digital\_content/82/download](https://training.elastic.co/user/digital_content/82/download), I should execute, by item 8, `.\x-pack/setup-passwords interactive`, but I only get a complaint that setup-passwords.bat is deprecated.  
And then, when I try to run `.\elasticsearch-setup-passwords.bat interactive` I get an error saying that X-Pack Security is not available.  
The Lab says it needs version 6.x or greater, and the current version available for download is 6.4.2 - seems to me like this course is in dire need of revision. Following the steps there, I have no idea how I should activate X-Pack Security for running this course.

---

<div class="post-metadata">

### Author: ![tamara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tamara/32/47095_2.png) [@tamara](https://discuss.elastic.co/u/tamara)
#### Post date: [October 9, 2018, 9:14am UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/2 "2018-10-09T09:14:03Z")

</div>

Hi,

We are in the process of updating the course. The right command is:

`bin/elasticsearch-setup-passwords interactive`

If you find another problem please let me know, so I make sure you can do the course.

Thank you very much for your feedback

---

<div class="post-metadata">

### Author: ![joaociocca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaociocca/32/15827_2.png) [@joaociocca](https://discuss.elastic.co/u/joaociocca)
#### Post date: [October 9, 2018, 12:46pm UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/3 "2018-10-09T12:46:55Z")

</div>

Hi @tamara thank you for replying, but that was already informed to me by the deprecated message I've got from `setup-passwords`.

```
\elasticsearch-6.4.2\bin> .\x-pack/setup-passwords interactive
\elasticsearch-6.4.2\bin\x-pack\setup-passwords.bat is deprecated, use \elasticsearch-6.4.2\bin\elasticsearch-setup-passwords.bat
Sets the passwords for reserved users

Commands
--------
auto - Uses randomly generated passwords
interactive - Uses passwords entered by a user

Non-option arguments:
command

Option Description
------ -----------
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
ERROR: Missing command

```

The real problem comes when I try `bin/elasticsearch-setup-passwords interactive` and get an error saying that X-Pack is not available:

```
\elasticsearch-6.4.2\bin> .\elasticsearch-setup-passwords.bat interactive

Unexpected response code [403] from calling GET http://127.0.0.1:9200/_xpack/security/_authenticate?pretty
It doesn't look like the X-Pack security feature is available on this Elasticsearch node.
Please check if you have installed a license that allows access to X-Pack Security feature.

ERROR: X-Pack Security is not available.

```

But when I try to install X-Pack, it says that `ERROR: this distribution of Elasticsearch contains X-Pack by default`.

---

<div class="post-metadata">

### Author: ![raposa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raposa/32/11906_2.png) [@raposa](https://discuss.elastic.co/u/raposa)
#### Post date: [October 9, 2018, 1:01pm UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/4 "2018-10-09T13:01:55Z")

</div>

X-Pack is no longer a plug-in - it is now already built-in to Elasticsearch. You just need to enable Security, which can be done from within Kibana. The details are here (pay close attention to steps 1 and 2):  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.4/configuring-security.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.4/configuring-security.html)

---

<div class="post-metadata">

### Author: ![joaociocca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaociocca/32/15827_2.png) [@joaociocca](https://discuss.elastic.co/u/joaociocca)
#### Post date: [October 9, 2018, 1:38pm UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/5 "2018-10-09T13:38:54Z")

</div>

Thanks! So, it's another point where the training needs an update, since it says that we need to install the plugin and then setup passwords, when now we need to install Elasticsearch, then Kibana and then go enable Security within Kibana.

---

<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: [November 10, 2018, 6:13am UTC](https://discuss.elastic.co/t/x-pack-security-course-outdated/151495/8 "2018-11-10T06:13:23Z")

</div>

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