2019-10-04 11:19:10 -04:00
|
|
|
// tag::create-users[]
|
|
|
|
There are <<built-in-users,built-in users>> that you can use for specific
|
2020-04-28 10:30:25 -04:00
|
|
|
administrative purposes: `apm_system`, `beats_system`, `elastic`, `kibana_system`,
|
|
|
|
`logstash_system`, and `remote_monitoring_user`.
|
2019-10-04 11:19:10 -04:00
|
|
|
|
|
|
|
// end::create-users[]
|
|
|
|
|
|
|
|
Before you can use them, you must set their passwords:
|
|
|
|
|
2020-04-28 10:30:25 -04:00
|
|
|
. Restart {es}. For example, if you installed {es} with a `.tar.gz` package, run
|
2019-10-04 11:19:10 -04:00
|
|
|
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[]
|
|
|
|
--
|