34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
|
// tag::create-users[]
|
||
|
There are <<built-in-users,built-in users>> that you can use for specific
|
||
|
administrative purposes: `apm_system`, `beats_system`, `elastic`, `kibana`,
|
||
|
`logstash_system`, and `remote_monitoring_user`.
|
||
|
|
||
|
// end::create-users[]
|
||
|
|
||
|
Before you can use them, you must set their passwords:
|
||
|
|
||
|
. Restart {es}. For example, if you installed {es} with a `.tar.gz` package, run
|
||
|
the following command from the {es} directory:
|
||
|
+
|
||
|
--
|
||
|
["source","sh",subs="attributes,callouts"]
|
||
|
----------------------------------------------------------------------
|
||
|
./bin/elasticsearch
|
||
|
----------------------------------------------------------------------
|
||
|
|
||
|
See {ref}/starting-elasticsearch.html[Starting {es}].
|
||
|
--
|
||
|
|
||
|
. Set the built-in users' passwords.
|
||
|
+
|
||
|
--
|
||
|
// tag::create-users[]
|
||
|
Run the following command from the {es} directory:
|
||
|
|
||
|
["source","sh",subs="attributes,callouts"]
|
||
|
----------------------------------------------------------------------
|
||
|
./bin/elasticsearch-setup-passwords interactive
|
||
|
----------------------------------------------------------------------
|
||
|
// end::create-users[]
|
||
|
--
|