On 6/30/10 9:35 AM, Tako Schotanus 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.
Ah. That's a different password. It just happens to have the same
default value. See
http://felix.apache.org/site/apache-felix-web-console.html#ApacheFelixWebConsole-Configuration

Justin

> 
> 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
>>
> 

Reply via email to