[DOCS] Added tip in users command
Original commit: elastic/x-pack-elasticsearch@3fb4e1819c
This commit is contained in:
parent
89d6c7e01e
commit
9ea36ef771
|
@ -37,6 +37,11 @@ Passwords must be at least 6 characters long.
|
||||||
|
|
||||||
For more information, see {xpack-ref}/file-realm.html[File-based User Authentication].
|
For more information, see {xpack-ref}/file-realm.html[File-based User Authentication].
|
||||||
|
|
||||||
|
TIP: To ensure that {es} can read the user and role information at startup, run
|
||||||
|
`users useradd` as the same user you use to run {es}. Running the command as
|
||||||
|
root or some other user updates the permissions for the `users` and `users_roles`
|
||||||
|
files and prevents {es} from accessing them.
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
=== Parameters
|
=== Parameters
|
||||||
|
|
||||||
|
@ -78,13 +83,8 @@ removing roles within the same command to change a user's roles.
|
||||||
|
|
||||||
//`-v, --verbose`:: Shows verbose output.
|
//`-v, --verbose`:: Shows verbose output.
|
||||||
|
|
||||||
[float]
|
//[float]
|
||||||
=== Authorization
|
//=== Authorization
|
||||||
|
|
||||||
To ensure that {es} can read the user and role information at startup, run
|
|
||||||
`users useradd` as the same user you use to run {es}. Running the command as
|
|
||||||
root or some other user updates the permissions for the `users` and `users_roles`
|
|
||||||
files and prevents {es} from accessing them.
|
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
=== Examples
|
=== Examples
|
||||||
|
|
Loading…
Reference in New Issue