# Forgot admin password (development), how to reset?

**URL:** https://discourse.roots.io/t/forgot-admin-password-development-how-to-reset/14758
**Category:** trellis
**Created:** 2019-02-06T11:33:51Z
**Posts:** 5

## Post 1 by @manalyse — 2019-02-06T11:33:51Z

Well, I’m not a professional, so please forgive me this question.

I am using trellis/bedrock/sage and the ansible vault. I forgot the password the admin section on the development stage, the email reset does not work yet. How can I see and/or reset/change the admin password? I tried to looked into some files but they are all encrypted.

Thank you for your help

---

## Post 2 by @TangRufus — 2019-02-06T11:47:12Z

Use wp cli to change account password:

```
$ vagrant ssh

# within the vagrant vm
$ cd /path/to/bedrock

# check your user ID / username
$ wp user list

$ wp user update 123 --user_pass=your-password
```

See: [https://developer.wordpress.org/cli/commands/user/update/](https://developer.wordpress.org/cli/commands/user/update/)

---

## Post 3 by @manalyse — 2019-02-06T11:58:14Z

Thank you very much! I am having a problem with step 2. How to refer to the site from within vagrant vm? I have installed bedrock in the standard way. When I just try to cd to my site as I usually do (starting with ~), it says “no such file or directory”.

---

## Post 4 by @MWDelaney — 2019-02-06T12:55:42Z

In Trellis your sites are located at:

```
/srv/www/[domain-name]/current
```

---

## Post 5 by @manalyse — 2019-02-06T12:58:10Z

Thank you very much, both of you, for the quick help. It worked now!

---

## Post 6 by @system — 2019-03-20T11:33:52Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
