# Aguard Home Password?

**URL:** <https://forum.gl-inet.com/t/aguard-home-password/37400>\
**Category:** Router\
**Created:** [January 17, 2024, 3:53am UTC](https://forum.gl-inet.com/t/aguard-home-password/37400 "2024-01-17T03:53:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dandek](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dandek](https://forum.gl-inet.com/u/dandek)\
**Post date:** [October 23, 2024, 7:44pm UTC](https://forum.gl-inet.com/t/aguard-home-password/37400/4 "2024-10-23T19:44:40Z")

</div>

There was a thread on how to set up username and password on adguard but it is not accessible any more.  
Anyway, you can set username and password on adguard. Tested on flint 2 router 4.6.4 firmware.  
ssh to your router  
`cd /etc/AdGuardHome`  
copy original config.yaml file as a backup like

```auto
cp config.yaml config.yaml.org

```

modify config.yaml file in line staring with users, like

```auto
users:
  - name: admin
    password: some_hash_password

```

Password can be set in hash using linux command

```auto
mkpasswd -m bcrypt -R 10 some_hash_password

```

Paste hash password in adguard config and restart it

```auto
/etc/init.d/adguardhome restart

```

I tested login with android app and home assistant integration. Both are working and I can log in adguard.

---

_[View the full topic](https://forum.gl-inet.com/t/aguard-home-password/37400)._
