#Reset root password

1 messages · Page 1 of 1 (latest)

lapis ermine
#

Hi folks, I've googled for lost password and reset password, and the usual solutions have not worked (e.g. auth reset --username user --password pass results in "unknown error: see supervisor")

I was trying to help a friend who is not tech-savvy, so I built a BeeLink box with flashed NVME with a clean install of HA. I shipped him the box, but http://homeassistant.local is asking for username/password instead of asking to start a new home.

He plugged in monitor and keyboard, and can enter ha commands, but we can't seem to interrogate the filesystem or reset the root password. Is there any way to do that from command line? the "grep username .storage/auth" fails with "grep command not found", I guess because we're inside ha cli.

How does one reset the long on a fresh install? I'd like to avoid having my friend crack open the case and flash the NVME

Thanks!

daring temple
#

You can't change the root password because there isn't one

#

The auth commands are for resetting the HA user accounts

lapis ermine
#

Thank you: how do I log in, then? The web interface is presenting a login dialog, but entering "root" with empty password does not work. I was expecting it to present a dialog that allows for first-time configuration, but apparently it thinks there's a user already created.

lapis ermine
daring temple
#

No local user accounts

#

Somebody has set up an account on that box already, that's why it's not asking for setup

#

So, log in on the console (keyboard + monitor), type login to get past the ha> prompt, and follow the guide