ubuntu系统elasticsearch默认安装位置/usr/share/elasticsearch/
重置密码
./elasticsearch-reset-password -u elastic -i
创建用户
./elasticsearch-users useradd kibanauser
./elasticsearch-users roles -a superuser kibanauser
./elasticsearch-users roles -a kibana_system kibanauser
本文链接地址: https://danteng.org/elk8-14-3-password-reset-and-user-create/