homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 370 forks source link

Reset password #138

Closed williamccc closed 6 years ago

williamccc commented 6 years ago

How to reset password?

DJay-X commented 6 years ago

Deleting the auth.json under /home/pi/.homebridge did the job for me.

Dedcad commented 5 years ago

How I can delete auth.json, I don't understand.

oznu commented 5 years ago

rm -rf auth.json

Dedcad commented 5 years ago

Nothing changed. My problem is that after changing the admin password and creating a new user, I turned on the Basic Form authorization. Everything worked. After I turned on the form authorization method, after that none of my passwords is accepted.

Maybe you can change the authorization method by SSH? The plugin was used in the assembly of SprutHub

mcquaas commented 5 years ago

Same here... deleting auth.json didn't do it.

MTapester commented 3 years ago

Once you delete the file and restart. Use admin/admin to get in

adamrzanek commented 3 years ago

Hi i have similar problem... how can i delete this file on the mac? Even with extFS for Mac it appears to be read-only

cjpatoilo commented 1 year ago

To solve the issue:

  1. Delete the ~/.homebridge/auth.json, for example, rm -rf ~/.homebridge/auth.json
  2. Reinstall the server, for example, sudo hb-service uninstall && sudo hb-service install

ps: maybe works for you sudo hb-service rebuild --all. I don't try this command but seems to make sense for me.