aboutsummaryrefslogtreecommitdiff
path: root/ansible/odoo/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/odoo/README.md')
-rw-r--r--ansible/odoo/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/odoo/README.md b/ansible/odoo/README.md
new file mode 100644
index 0000000..b91871b
--- /dev/null
+++ b/ansible/odoo/README.md
@@ -0,0 +1,14 @@
+Creating new passwords:
+
+ > python
+ import passlib.hash
+ password = "123"
+ passlib.hash.pbkdf2_sha512.hash(password, rounds=25000)
+
+
+Testing passwords:
+
+ grep admin_password /etc/odoo/odoo.conf
+ mysalt = "gzDG.J.TkrKWstaa03qPEQ"
+ mypassword = "123"
+ passlib.hash.pbkdf2_sha512.hash(mypassword, salt=passlib.utils.binary.ab64_decode(mysalt), rounds=25000)