default password will not go away

asked 2016-12-12 15:04:21 -0700

madpacket gravatar image

I can't seem to get rid of the default admin password.

I do:

curl -u admin:admin http://localhost:8181/auth/v1/users | python -m json.tool > user.json

the edit user.json

change password in line:

        "password": "**********”,

Put it back: curl -u admin:admin -X PUT -H "Content-Type: application/json" --data-binary @./user.json http://localhost:8181/auth/v1/users/a...

After making the above changes, the new password works. But also the old default password still works.

How to remedy?

Thanks!!

edit retag flag offensive close merge delete