How to change an admin password using trytond-admin?

I’d like to change my admin password via trytond-admin. Unfortunately, I can’t figure out the correct syntax for this from the --help command.

Could someone share the correct command usage with me, please?

Thanks a lot!

It should be as simple as:

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.