# How to change an admin password using trytond-admin?

**URL:** <https://discuss.tryton.org/t/how-to-change-an-admin-password-using-trytond-admin/8099>\
**Category:** System Administrator\
**Created:** [December 6, 2024, 3:40pm UTC](https://discuss.tryton.org/t/how-to-change-an-admin-password-using-trytond-admin/8099 "2024-12-06T15:40:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dave](https://discuss.tryton.org/u/dave)\
**Post date:** [December 6, 2024, 6:01pm UTC](https://discuss.tryton.org/t/how-to-change-an-admin-password-using-trytond-admin/8099/2 "2024-12-06T18:01:47Z")

</div>

It should be as simple as:

```auto
trytond-admin --database database_name --password

```

But you may need to to also specify the `--config` file location if you have one.

Then when running the command it should prompt you to enter the new password.

---

_[View the full topic](https://discuss.tryton.org/t/how-to-change-an-admin-password-using-trytond-admin/8099)._
