The following example resets the password of the elastic user to an auto-generated value andprints the new password in the console:
SSH into server
bin/elasticsearch-reset-password -u elastic
The following example resets the password of a native user with username user1 after promptingin the terminal for the desired password:
bin/elasticsearch-reset-password --username user1 -i
The following example resets the password of a native user with username user2 to an auto-generated valueprints...