Resetting Passwords¶
Hint - elastic
superuser password
The following commands change the password of the elastic
superuser.
If you whish to change passwords of any other user, just replace elastic
by the desired user name.
For details on the command, see elasticsearch-reset-password.
Automatically Generated Password¶
You can force the creation of a new elastic
superuser password with the follwing command:
-
Linux:
sudo ES_PATH_CONF=/opt/seal/etc/seal-elasticsearch /opt/seal/seal-elasticsearch/bin/elasticsearch-reset-password --username elastic --batch --silent --force
-
Windows:
$env:ES_PATH_CONF="$env:ProgramData\SEAL Systems\config\seal-elasticsearch"; & "$env:ProgramFiles\SEAL Systems\seal-elasticsearch\bin\elasticsearch-reset-password.bat” --username elastic --batch --silent --force
Desired Password¶
You can specify your desired password, if you add the --interactive
option to the above command:
-
Linux:
sudo ES_PATH_CONF=/opt/seal/etc/seal-elasticsearch /opt/seal/seal-elasticsearch/bin/elasticsearch-reset-password --username elastic --batch --silent --force --interactive
-
Windows:
$env:ES_PATH_CONF="$env:ProgramData\SEAL Systems\config\seal-elasticsearch"; & "$env:ProgramFiles\SEAL Systems\seal-elasticsearch\bin\elasticsearch-reset-password.bat” --username elastic --batch --silent --force -- interactive