Last active
June 6, 2018 11:57
-
-
Save Howard-Chang/7941159d9fc099463b00e681d52af2f1 to your computer and use it in GitHub Desktop.
x-pack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh users useradd my_admin -p my_password -r superuser | |
curl -u my_admin -XPUT 'http://163.19.163.239:9200/_xpack/security/user/elastic/_password?pretty' -H 'Content-Type: application/json' -d' | |
{ | |
"password" : "9ol./;p0" | |
}' | |
Enter host password for user 'my_admin': |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment