$ curl -XPUT -u elastic 'localhost:9200/_xpack/security/user/elastic/_password' -H "Content-Type: application/json" -d '{
"password" : “1234”
}'
Enter host password for user 'elastic':
{"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}},"status":401}%
My license is basic but i have used 'trial type'. So i want to give different access to users by using x-pack that is installed by default elastic v6.4.0
I think [elastic]'s default passwd is 'changeme'. but above error appeared.
-
How can I solve this issue?
-
How can I initialize x-pack on Elastic,Kibana v6.4.0?