# How to setup 'elastic' account from source code

**URL:** <https://discuss.elastic.co/t/how-to-setup-elastic-account-from-source-code/320189>\
**Category:** Elasticsearch\
**Created:** [November 30, 2022, 7:58pm UTC](https://discuss.elastic.co/t/how-to-setup-elastic-account-from-source-code/320189 "2022-11-30T19:58:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![augxmas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/augxmas/32/114064_2.png) [@augxmas](https://discuss.elastic.co/u/augxmas)\
**Post date:** [November 30, 2022, 7:58pm UTC](https://discuss.elastic.co/t/how-to-setup-elastic-account-from-source-code/320189/1 "2022-11-30T19:58:45Z")

</div>

I downloaded elasticsearch source from git then run it via gradle with command 'gradlew run'.  
when i try to access [http://localhost:9200](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'

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 28, 2022, 7:58pm UTC](https://discuss.elastic.co/t/how-to-setup-elastic-account-from-source-code/320189/2 "2022-12-28T19:58:53Z")

</div>

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