# Trytond-admin no set password to admin user

**URL:** https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029
**Category:** System Administrator
**Created:** [February 29, 2024, 3:42am UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029 "2024-02-29T03:42:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jenriquezdeceano](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@jenriquezdeceano](https://discuss.tryton.org/u/jenriquezdeceano)
#### Post date: [February 29, 2024, 3:42am UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/1 "2024-02-29T03:42:03Z")

</div>

I did a local installation. I installed only trytond and account module and when i ran the tryton-admin i got the this output.

the version is 7.0.7

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/f/fe75b8e8fa45015ddb021bd1ee3df36714323b66.jpeg)

I was looking in the res.user table and i founded that password isn’t set.

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/b/b6387fd5c14e9dc950ce85fb6973232eb4a6a903.png)

I am looking direction.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [February 29, 2024, 8:20am UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/2 "2024-02-29T08:20:23Z")

</div>

Password is not saved because you have an error on the process.

You can update your user password using the following command:

`$ trytond-admin -d <database> -p `

This will reask you for the admin password and update it on the database.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [February 29, 2024, 8:37am UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/3 "2024-02-29T08:37:45Z")

</div>

It seems you have installed an older version of email-validation. The setup.py requires to have `email-validator >= 2`.

---

<div class="post-metadata">

### Author: ![jenriquezdeceano](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@jenriquezdeceano](https://discuss.tryton.org/u/jenriquezdeceano)
#### Post date: [February 29, 2024, 3:27pm UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/4 "2024-02-29T15:27:15Z")

</div>

I installed email\_validator==2.1.1 and this issues was fixed.  
Thanks.

---

<div class="post-metadata">

### Author: ![jenriquezdeceano](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@jenriquezdeceano](https://discuss.tryton.org/u/jenriquezdeceano)
#### Post date: [February 29, 2024, 3:28pm UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/5 "2024-02-29T15:28:16Z")

</div>

I did this and is working but isn’t the solution.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [March 1, 2024, 3:28am UTC](https://discuss.tryton.org/t/trytond-admin-no-set-password-to-admin-user/7029/6 "2024-03-01T03:28:28Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
