Hello,
How I can reset a web UI user’s password?
I have access to the debug SSH instance (on port 22222) as well as the SSH add-on.
Thanks!
Hello,
How I can reset a web UI user’s password?
I have access to the debug SSH instance (on port 22222) as well as the SSH add-on.
Thanks!
hassio homeassistant stop
)hassio homeassistant start
), you’ll get the Login to create an user accountYou don’t have to delete the entire .storage/
folder, just three files.
There’s also the command line password reset option (which may require debug access on Hass.io):
hass --script auth change_password username new_password
is it still available with hassos 2.11 ??
This also works for virtualenv installation:
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
hass --script auth change_password username new_password
Checked on latest homeassistant version: 0.103.5
It’s amazing how fast this project is growing and changing.
In 2020-04-20 I ssh to the server and used the following command line to solve the issue.
ha authentication reset --username "JohnDoe" --password "123SuperSecret!"