|
@@ -1,16 +1,16 @@
|
|
|
[role="xpack"]
|
|
|
[[setup-passwords]]
|
|
|
-== setup-passwords
|
|
|
+== elasticsearch-setup-passwords
|
|
|
|
|
|
-The `setup-passwords` command sets the passwords for the built-in `elastic`,
|
|
|
-`kibana`, `logstash_system`, and `beats_system` users.
|
|
|
+The `elasticsearch-setup-passwords` command sets the passwords for the built-in
|
|
|
+`elastic`, `kibana`, `logstash_system`, and `beats_system` users.
|
|
|
|
|
|
[float]
|
|
|
=== Synopsis
|
|
|
|
|
|
[source,shell]
|
|
|
--------------------------------------------------
|
|
|
-bin/x-pack/setup-passwords auto|interactive
|
|
|
+bin/elasticsearch-setup-passwords auto|interactive
|
|
|
[-b, --batch] [-h, --help] [-E <KeyValuePair>]
|
|
|
[-s, --silent] [-u, --url "<URL>"] [-v, --verbose]
|
|
|
--------------------------------------------------
|
|
@@ -32,10 +32,10 @@ automatically attempts to establish the connection by using the HTTPS protocol.
|
|
|
It configures the connection by using the `xpack.security.http.ssl` settings in
|
|
|
the `elasticsearch.yml` file. If you do not use the default config directory
|
|
|
location, ensure that the *ES_PATH_CONF* environment variable returns the
|
|
|
-correct path before you run the `setup-passwords` command. You can override
|
|
|
-settings in your `elasticsearch.yml` file by using the `-E` command option.
|
|
|
-For more information about debugging connection failures, see
|
|
|
-{xpack-ref}/trb-security-setup.html[Setup-passwords command fails due to connection failure].
|
|
|
+correct path before you run the `elasticsearch-setup-passwords` command. You can
|
|
|
+override settings in your `elasticsearch.yml` file by using the `-E` command
|
|
|
+option. For more information about debugging connection failures, see
|
|
|
+{xpack-ref}/trb-security-setup.html[`elasticsearch-setup-passwords` command fails due to connection failure].
|
|
|
|
|
|
[float]
|
|
|
=== Parameters
|
|
@@ -68,5 +68,5 @@ its user management API requests:
|
|
|
|
|
|
[source,shell]
|
|
|
--------------------------------------------------
|
|
|
-bin/x-pack/setup-passwords auto -u "http://localhost:9201"
|
|
|
+bin/elasticsearch-setup-passwords auto -u "http://localhost:9201"
|
|
|
--------------------------------------------------
|