# Home Assistant パスワードリセット

**URL:** https://forum.ficusonline.com/t/topic/307
**Category:** Automation
**Created:** [2019 年 6 月 8 日午後 2:44 UTC](https://forum.ficusonline.com/t/topic/307 "2019-06-08T14:44:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2019 年 6 月 8 日午後 2:44 UTC](https://forum.ficusonline.com/t/topic/307/1 "2019-06-08T14:44:53Z")

</div>

> **[Password lost](https://community.home-assistant.io/t/password-lost/66288/8)**
>
> It works, thanks a lot.

Home Assistant停止後、以下ファイルを削除、再起動して新規ユーザとして再登録します。

```auto
$ sudo service home-assistant@orangepipc stop
$ rm ~/.homeassistant/.storage/auth*
$ rm ~/.homeassistant/.storage/onboarding

```

Dockerコンテナで起動している場合のパスワードリセット

> **[I'm locked out!](https://www.home-assistant.io/docs/locked_out/#to-reset-a-users-password-via-the-container-command-line)**
>
> Options for regaining access

```auto
$ docker exec -it hass_docker_container_name bash

# hass --script auth --config /config change_password existing_user new_password 
# exit

$ docker restart hass_container_name

```

管理者ユーザ名を忘れてしまった場合は以下ファイルの `"credentials"` を確認

```auto
$ sudo nano config/.storage/auth

```
