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

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
bshure
Posts: 9
Joined: 28 Jun 2015 20:05

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

Post 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
bshure
Posts: 9
Joined: 28 Jun 2015 20:05

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

Post 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.
Post Reply