If you forgot the owner's password, you need to reset the password via a terminal.
-
To connect a terminal using a Windows computer, follow the steps on using the serial console for debugging (Windows) up to (and including) step 9.
-
To connect a terminal using a Mac or Linux computer, follow the steps on using the serial console for debugging (Linux/macOS) up to (and including) step 9.
-
To reset the password, enter
auth reset --username 'existing_user' --password 'new_password'
.-
Info: The ha command line doesn't support all special characters.
- When resetting via the command line, use a short and simple password without special characters.
- Once reset, go and replace it with a complex one in the UI.
-
Example: To reset the password for the user
yelena
to12345
, enterauth reset --username 'yelena' --password '12345'
.
-
-
Log in with the new password.
-
Go to your User profile and, on the Security tab, update the password to a more complex one.
Related topics
- Resetting a password via console
- Home Assistant command line
- Using the serial console for debugging (Windows)
- Using the serial console for debugging (Linux/macOS)
Edit this article on GitHub