You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

elasticsearch-users.bat 548B

12345678910111213141516171819
  1. @echo off
  2. rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. rem or more contributor license agreements. Licensed under the Elastic License;
  4. rem you may not use this file except in compliance with the Elastic License.
  5. setlocal enabledelayedexpansion
  6. setlocal enableextensions
  7. set ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.file.tool.UsersTool
  8. set ES_ADDITIONAL_SOURCES=x-pack-env;x-pack-security-env
  9. call "%~dp0elasticsearch-cli.bat" ^
  10. %%* ^
  11. || goto exit
  12. endlocal
  13. endlocal
  14. :exit
  15. exit /b %ERRORLEVEL%