Weyu‘s blog

  • 首页
  • 代码
  • 作品
  • 学习
  • 折腾
  • 随笔
  • 关于博主
  • 时光映像
  • 我的网盘
  • 文章归档
  • 友情链接

elasticsearch的默认账号密码以及8.3.0以上版本修改默认密码

  • admin
  • 2022-06-29
  • 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.
© 2025 Weyu‘s blog
  • {{ item.name }}
  • {{ item.name }}