博客已持续运行3477天
 赏心乐事共谁论?花下销魂,月下销魂。
进入博客
不要停下脚步哪怕前方没有光
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
stic -i
warning: ignoring JAVA_HOME="D:\sitemodel\elasticsearch-8.3.0\jdk" ; using
This tool will reset the password of the [elastic] user.
You will be prompted to enter the password.
Please confirm that you would like to continue [y/N]y


Enter password for [elastic]:
Re-enter password for [elastic]:
Password for the [elastic] user successfully reset.



上一篇
写评论
昵称: 主页: 邮箱:
回到顶部
Powered by 顾羽宸. Written by . 浙icp备87656888号
在路上...     13.62ms