Remove elastic default user


I was wondering if it could be possible to remove the default elastic user using the bin/x-pack/user command line tool.

Or at least, change his password but without using API access...

I can create users and role but it's completly useless if people are still able to use elastic:changeme :cry:

Thanks in advance :smiley:


If you're using 5.0 alpha 4 or alpha 5, you can change your 'elastic' user password via the UI. Navigate to Users page and click on 'elastic' user. Click 'Change Password' and you will see a page like the below screenshot. You can change the password here without using the APIs.