Page 1 of 1

I locked myself out of the new Home Automation UI just now

Posted: 29 Jun 2015 08:40
by bshure
Friends:

I spent a lot of time on the new HA interface today.
I'm running "v2.0.1-rc33".

I added two users with admin rights and then, for security, I took away admin rights from the admin user.

Now nobody has rights to see anything! The two new users have no rights and the admin user doesn't either.

I really wanted to change the password for admin and I didn't see how to do it.

Help!

Restore from backup? I made a couple backups during the day.

Can I edit a file somewhere and fix this?

Thanks,

Bert

Re: I locked myself out of the new Home Automation UI just n

Posted: 29 Jun 2015 17:58
by bshure
Fixed myself.
I did a recursive grep and found the file that had the name of the new user.
Then I looked at the same file on another razberry pi.

The other had "role":1 and the screwed up one had "role":"1" .

The quotes around the numbers screwed everything up. Removing the quotes around the number fixed the problem.