elasticsearch-users 636 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. # or more contributor license agreements. Licensed under the Elastic License;
  4. # you may not use this file except in compliance with the Elastic License.
  5. source "`dirname "$0"`"/elasticsearch-env
  6. source "`dirname "$0"`"/x-pack-security-env
  7. exec \
  8. "$JAVA" \
  9. $ES_JAVA_OPTS \
  10. -Des.path.home="$ES_HOME" \
  11. -Des.path.conf="$ES_PATH_CONF" \
  12. -Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR" \
  13. -Des.distribution.type="$ES_DISTRIBUTION_TYPE" \
  14. -cp "$ES_CLASSPATH" \
  15. org.elasticsearch.xpack.security.authc.file.tool.UsersTool \
  16. "$@"