<div dir="ltr">The script only adds new users so if the user already exists it won't do anything. You need to create the admin user prior to starting the server in the first place. In the next release we will remove the built-in admin user completely. Instead we'll have a initial page (or add-user script) that can only be accessed from localhost that allows creating an initial user.</div><div class="gmail_extra"><br><div class="gmail_quote">On 4 January 2016 at 22:05, Paul Blair <span dir="ltr"><<a href="mailto:pblair@clearme.com" target="_blank">pblair@clearme.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>I'm running keycloak 1.7.0.Final and tried to use the add-user.sh script to change the admin default password after deployment. The password didn't seem to take.</div>
<div><br>
</div>
<div>If I go to the admin console and log in as admin with a password of "admin" I am prompted to change the password.</div>
<div><br>
</div>
<div>My understanding was that the purpose of the script was to get away from having an admin user with a default password. Is this not supported yet?</div>
<div><br>
</div>
<div>Before trying to change the admin user with the script, I had already brought up the server once and tried to log in as admin. After that I realized I wanted to use the script, and shut everything down before running the script; not sure if that's relevant
or not.</div>
<div><br>
</div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>