# Reset password

```bash
su - odoo
cd odoo-venv/
./bin/python3
```

```python
from passlib.context import CryptContext
print (CryptContext(['pbkdf2_sha512']).encrypt('test'))
```

```bash
su - postgres
psql -d odoo
```

```sql
update res_users set password='$pbkdf2-sha512$25000$VeqdsxZi7P3fW8t57z0H4A$tvHz73Vh.pvRQDVl6t6l/ViJITcKAgzJMdlxraR56IQ1/bLfS786pclE9G7ti8nSHaLwEJeXdsz4Exjn7M7DOA' where id=2;
```