6.29
2022
elasticsearch的默认账号密码以及8.3.0以上版本修改默认密码
默认账号密码:
user: elastic password: changeme |
1.以管理员方式运行:elasticsearch.bat
2.在elasticsearch-8.3.0\bin目录打开cmd,例如需要修改用户kibana的密码则输入:elasticsearch-reset-password --username kibana -i
3.输入新密码,回车后二次确认。
D:\sitemodel\elasticsearch-8.3.0\bin>elasticsearch-reset-password --username kib ana -i warning: ignoring JAVA_HOME="D:\sitemodel\elasticsearch-8.3.0\jdk" ; using This tool will reset the password of the [kibana] user. You will be prompted to enter the password. Please confirm that you would like to continue [y/N]y Enter password for [kibana]: Re-enter password for [kibana]: Password for the [kibana] user successfully reset.
D:\sitemodel\elasticsearch-8.3.0\bin>elasticsearch-reset-password --username ela |
上一篇
下一篇