Unable to change the elastic user password

image

We used the below command to change the password however it shows an error as per the screen shot attached.

/usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive

Elastic version- 7.9

Welcome to our community! :smiley:
Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

That command does not change the password, its sets the passwords for the first time. You cannot use it to change the password after it has already been set.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.