Ok, I have some more information. This problem ONLY occurs when I go directly to the /system/console/bundles URL without having logged in beforehand! In that case a standard browser login dialog pops up instead of the Sling login page and that dialog accept only the old password. If I go to the login page first it will only accept the new password.
Is there double user bookkeeping somewhere? -Tako On Wed, Jun 30, 2010 at 15:35, Tako Schotanus <[email protected]> wrote: > I have this strange problem where changing the admin password does not seem > to have any effect. > > I've done exactly what Justin explained below and in fact with curl I get a > login page when using the old admin password (the default "admin") and I get > the landing page when using the new one. > > But... and this is the strange thing... when I try to access > /system/console/bundles it only accepts the old password! Even after > restarting glassfish. > > Any ideas? > > Thanks, > -Tako > > > On Wed, Jun 30, 2010 at 14:57, Justin Edelson <[email protected]>wrote: > >> On 6/30/10 8:13 AM, Tako Schotanus wrote: >> > And do you have any idea what I'm doing wrong while trying to change the >> > admin password? I just can't get it to work. >> >> The instructions on the FAQ work for me. Starting with an empty >> repository and the default bundles: >> >> curl http://admin:ad...@localhost:8888/index.html - works >> curl http://admin:bad...@localhost:8888/index.html - returns login form >> >> curl -F"oldPwd=admin" -F"newPwd=Fritz" -F"newPwdConfirm=Fritz" >> http://admin:ad...@localhost >> :8888/system/userManager/user/admin.changePassword.html >> >> >> curl http://admin:ad...@localhost:8888/index.html - returns login form >> curl http://admin:fr...@localhost:8888/index.html - works >> >> You can safely ignore the bit in the FAQ about updating the admin >> password in the web console. That no longer applies. >> >> As Bertrand said, if the above steps don't work for you, please post >> some addition details (ideally under a new subject line to help >> findability). >> >> Justin >> > >
