> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/cloud-c2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/cloud-c2/troubleshooting/account-recovery.md).

# Account Recovery

In the event that a user's password is lost or forgotten, it may be reset using the `-recoverAccount` and `-setPass` command line parameters. In the following example, the password for the user "`bob`" is set to "`ChangeMe123!!`"

```
./c2-3.2.0_amd64_linux -hostname example.com -recoverAccount bob -setPass ChangeMe123!!
[*] Initializing Hak5 Cloud C2 v3.2.0
[*] Hostname: example.com
[*] DB Path: c2.db
--------------------------------------------------------------------------------
User Account Recovery Mode
--------------------------------------------------------------------------------
[+] bob's password successfully changed 
[*] Account Recovery Complete
[!] Server Restart without recovery arguments required
[!] Exiting
```

With account recovery complete, the server may now be started as usual without the additional recovery parameters.
