mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-08 01:26:00 +02:00
elasticsearch-reset-password: add page (#16524)
* elasticsearch-reset-password: add page Closes: #16523 * Apply suggestions from code review Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> --------- Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
parent
44de6b14a8
commit
21cfb693b2
1 changed files with 16 additions and 0 deletions
16
pages/common/elasticsearch-reset-password.md
Normal file
16
pages/common/elasticsearch-reset-password.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# elasticsearch-reset-password
|
||||
|
||||
> Reset the passwords of users in the native realm and built-in users.
|
||||
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/reset-password>.
|
||||
|
||||
- Reset the password of the user to an auto-generated value and print it in the console:
|
||||
|
||||
`elasticsearch-reset-password {{[-u|--username]}} {{user}}`
|
||||
|
||||
- Prompt interactively to reset the password for a native user:
|
||||
|
||||
`elasticsearch-reset-password {{[-u|--username]}} {{user}} {{[-i|--interactive]}}`
|
||||
|
||||
- Interactively reset the password for a user at a specified Elasticsearch node URL:
|
||||
|
||||
`elasticsearch-reset-password --url {{host}}:{{port}} {{[-u|--username]}} {{user}} {{[-i|--interactive]}}`
|
Loading…
Add table
Reference in a new issue