elasticsearch - x-pack 目录中没有 setup-passwords bin

elasticsearch - there is no setup-passwords bin in x-pack directory

我用

brew install elasticsearch

elasticsearch-plugin install x-pack

x-pack路径是/usr/local/Cellar/elasticsearch/6.2.4/libexec/plugins/x-pack

但是,这条路径中没有setup-passwords

☁  ~  ls /usr/local/Cellar/elasticsearch/6.2.4/libexec/plugins/x-pack
meta-plugin-descriptor.properties x-pack-graph                      x-pack-monitoring                 x-pack-watcher
x-pack-core                       x-pack-logstash                   x-pack-security
x-pack-deprecation                x-pack-ml                         x-pack-upgrade

我想使用

生成默认密码

bin/x-pack/setup-passwords auto

setup-passwords 命令的路径是:

/usr/local/Cellar/elasticsearch/6.2.4/libexec/bin/x-pack/setup-passwords