elasticsearch 安装 x-pack 后重新生成密码的方法

elasticsearch 安装 x-pack 后重新生成密码的方法

环境

服务器:centos6
操作系统:win7
工具:CRT
elasticsearch:6.0.0

命令

[yutao@master01 elasticsearch-6.0.0]$ bin/x-pack/setup-passwords autoInitiating the setup of reserved user elastic,kibana,logstash_system passwords.The passwords will be randomly generated and printed to the console.Please confirm that you would like to continue [y/N]yChanged password for user kibanaPASSWORD kibana = WjFJ6G$lEH71W7K1+vclChanged password for user logstash_systemPASSWORD logstash_system = TS8ZR41smxm9o?F6gbBBChanged password for user elasticPASSWORD elastic = rc~ENBxy?18hOQ^R9OUJ[yutao@master01 elasticsearch-6.0.0]$

也就是:

bin/x-pack/setup-passwords auto

如果想自己来指定密码的话,执行

bin/x-pack/setup-passwords interactive

会有交互,让你输入密码;

Setting Built-in User Passwords

Getting Started with Security

免责声明:本网信息来自于互联网,目的在于传递更多信息,并不代表本网赞同其观点。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,并请自行核实相关内容。本站不承担此类作品侵权行为的直接责任及连带责任。如若本网有任何内容侵犯您的权益,请及时联系我们,本站将会在24小时内处理完毕。
相关文章
返回顶部