Warning: include_once(/home/favoledo/robertozanardo.com/wp-content/sunrise.php): Failed to open stream: No such file or directory in /home/favoledo/robertozanardo.com/wp-includes/ms-settings.php on line 52

Warning: include_once(): Failed opening '/home/favoledo/robertozanardo.com/wp-content/sunrise.php' for inclusion (include_path='.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php') in /home/favoledo/robertozanardo.com/wp-includes/ms-settings.php on line 52
Odoo 12 master password reset - Odoo e Soluzioni Open Source

Odoo 12 master password reset

Recover Odoo 12 master pasword

To recover Odoo 12 master password we can proceed the following way:

We need access to odoo.conf file (usually in /etc/odoo/odoo.conf).

Here we find the hashed password codificata (format: pbkdf2_sha512) as admin_passwd:

[options]
addons_path = /opt/odoo/addons
admin_passwd = $pbkdf2-sha512$25000$SMlZi1HKWcs5ZywFoPQ.hw$ovTam7O8ckMfnvjnPk1jSHYhLIyiGCQsDdkxlmZznuy9plohEQ/8nJP1WJHenBwDU0SaDBalj0zzyHtkjO\Yow
csv_internal_sep = ,

We can generate a new hashe password with Python code:

from passlib.context import CryptContext
setpw = CryptContext(schemes=['pbkdf2_sha512'])
hashed = setpw.encrypt('NewAdminPassword')
print (hashed)

Then we can copy the new hash from console and paste it in odoo.conf.

Restart the odoo service and we are done!

Ripristinare master pasword Odoo 12

Per ripristinare una master password di Odoo 12, possiamo procedere nel seguente modo:

Naturalmente dobbiamo avere accesso al file odoo.conf (solitamente in /etc/odoo/odoo.conf).

Qui troviamo la password codificata in formato: pbkdf2_sha512 come parametro di admin_passwd:

[options]
addons_path = /opt/odoo/addons
admin_passwd = $pbkdf2-sha512$25000$SMlZi1HKWcs5ZywFoPQ.hw$ovTam7O8ckMfnvjnPk1jSHYhLIyiGCQsDdkxlmZznuy9plohEQ/8nJP1WJHenBwDU0SaDBalj0zzyHtkjO\Yow
csv_internal_sep = ,

Possiamo quindi generarne una nuova con il codice Python:

from passlib.context import CryptContext
setpw = CryptContext(schemes=['pbkdf2_sha512'])
hashed = setpw.encrypt('NewAdminPassword')
print (hashed)

Copiare dalla console l’hash generato e sostituirlo nel file .conf.

Dopodichè riavviamo il servizio e dovremmo avere reimpostato la master password id Odoo.

Lascia un commento

betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betpark
betgaranti
betpark
betgaranti
betpark
betgaranti
Kolaybet
bettilt
kolaybet
bettilt
bettilt
bettilt
bettilt
holiganbet
bettilt
bettilt
bettilt
perabet
bettilt
betpark
betpark
betpark
bettilt
betnano
betnano
betpark
betpark
betpark
betpark
marsbahis
marsbahis
betpark
betpark
betpark
betpark
betpark
kolaybet
sahabet
onwin
onwin
kolaybet
Kolaybet
sahabet
sahabet
sahabet
sahabet
onwin
onwin
onwin
sahabet
sahabet
sahabet
sahabet
sahabet
sahabet
onwin
sahabet
sahabet
sahabet
onwin
onwin
sahabet
sahabet
betpark
kolaybet giriş
Katla
Katlabet
nitrobahis
katlabet
kolaybet
kolaybet
hellocasino
hellocasino
betgaranti
Kolaybet
kolaybet
Candycasino
Candycasino
grandpashabet
grandpashabet
grandpashabet
grandpashabet giriş
sahabet
sahabet
sahabet
sahabet
onwin