How to setup 'elastic' account from source code

I downloaded elasticsearch source from git then run it via gradle with command 'gradlew run'.
when i try to access http://localhost:9200, ES is asking id/password.

usally, I setup 'elastics' account with 'elasticsearch-reset-password' , 'elasticsearch-setup-passwords'

since 'gradlew run', there is distribution directory and i tried to setup password 'elastic' account on distribution directory.

but changed 'elastic' account doesn't work on running ES via 'gradlew run'
plz let me know how to setup elastic account on 'gradlew run'

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.