Open yboujraf opened 1 year ago
Hi!
I'm sorry for the late response!
I haven't used Odoo or these scripts in ages, and I'm not sure the scripts are still working for the latest version.
In case they're still working what you need is to run the script with python:
python OdooUserPassChanger.py
The prompt will ask for the credentials to be able to connect to the database, and it'll ask for the new password. The script will encrypt the new password and replace the previous one.
About sharing the encrypted password, you could try to modify the script to run a select instead of an upgrade so you can retrieve the current encrypted password. I'm not sure if that's what you want to do or if I got it wrong.
Again, I'm not sure if it's still working since I haven't used the script since I created it.
Dear @0xcomposure
I 'd like to encrypt the odoo admin password at the installation script. Do you have the example how to call your code in the basch and to share the encrypted password?
Best Regards