Reset your Home Assistant Password 2024

Поділитися
Вставка

КОМЕНТАРІ • 20

  • @LuxeiaLtd
    @LuxeiaLtd  10 місяців тому

    This method will not work using SSH Add-ons, as you need to access the command line through the physical machine running your Home Assistant instance. Therefore, this does not compromise your security, as these commands cannot be ran remotely.

    • @zyghom
      @zyghom 6 місяців тому +1

      why wouldn't it?
      ssh to ha
      execute the same command: ha auth....
      the only difference is: the file is not in /mnt/data/...but /config/.storage/...

    • @LuxeiaLtd
      @LuxeiaLtd  6 місяців тому

      ​@@zyghomWhen I tested this it would not work through the SSH add-on. This could have been related to my set-up, or user error.

  • @DougClingman-cw4wi
    @DougClingman-cw4wi 7 місяців тому +1

    Thank you! this process worked great for me

    • @LuxeiaLtd
      @LuxeiaLtd  7 місяців тому

      I am glad it helped you out!

  • @stefantulipan1442
    @stefantulipan1442 22 дні тому

    Great.

  • @solera2008
    @solera2008 Місяць тому

    Brilliant. Thanks.

  • @beverridge
    @beverridge 13 днів тому

    The console should open automatically and show up on the monitor.
    In the Home Assistant command line, you can now enter a command.
    For example, if you are locked out, you can change your password:
    auth reset --username existing_user --password new_password

  • @scantrain5007
    @scantrain5007 3 місяці тому

    Many thanks for your tipp! With greetings from Germany
    Scan Train

  • @__-zb7jd
    @__-zb7jd Місяць тому

    hi, thanks! it works.

  • @uk8user3434
    @uk8user3434 2 місяці тому

    Thank you soooo much you saved my life ❤️

  • @tortysoft
    @tortysoft 2 місяці тому

    "login: Cannot possibly work without effective root"
    Any other ideas?

  • @juanpablo2135
    @juanpablo2135 9 місяців тому

    How about reseting username ?

    • @LuxeiaLtd
      @LuxeiaLtd  9 місяців тому +1

      01. Access the CLI as shown in the video
      02. Type - "cd config/.storage"
      03. Type - "nano auth"
      04. Find the username you need to edit, and change it.
      05. Press - "CTRL + O" -> "Return" -> "CTRL + X"
      06. Type - "nano auth_provider.homeassistant"
      07. Find the username, and change it.
      08. CTRL + O -> Return -> CTRL + X
      09. Type - "ha core restart"
      10. Type - "exit"

  • @alanblyde8502
    @alanblyde8502 9 місяців тому

    doesnt work with green

    • @LuxeiaLtd
      @LuxeiaLtd  9 місяців тому

      I don't have access to a green to test this myself, but other green users have confirmed this should work. Did you connect a screen to the green and use the command line like in the video? Or did you try using one of the SSH add-ons?

    • @mr.k3676
      @mr.k3676 8 місяців тому +2

      Yes doesn’t work with the green. Keeps coming up as no such file or directory.