Skip to Content
Menu
This question has been flagged
4 Replies
21186 Views

How can I recover my master password?

Avatar
Discard
Best Answer

check ur odoo8 config file named as: odoo-server.conf. it basically inside of your etc folder.

find and open it.

admin_passwd = admin

here admin is your master password. try this.

EDIT:  If you have changed the master password from the user interface, it is stored in a resource file called .openerp_serverrc in the home directory of the user running the server/service.

Avatar
Discard

Additional note: usually this file is under /etc/

But,i caught access denied error when trying to backup a database

Best Answer

video reference here


Avatar
Discard
Best Answer

Hi @Bole and @Abin and @Yenthe,

Thanks a lot for your help, I just change my password inside of admin role, but I forget to note somewhere :) :( :( and all the work of one year I am afraid are gone :(

My version is v.8 and I fond the odoo-server.conf like @Bole was explain before and yeah you find the password BUT this password is the old one.

I tried to look for file called .openerp_serverrc but I don't arrive to find it so I would like to know what are my next tries explained by doomies :)

Really thanks thanks for your help to me and this community,

César

Avatar
Discard

what are my next tries explained FOR doomies :) mistake, the doomie is me :)

Best Answer

in v7 easy : select login, password from res_users;
(also from psql the same select)

in v8, not so easy, because the passwords are hashed by default... so no plain text password are saved.. 
 

Avatar
Discard
Author

im in V8.. plz help

Actually Bole you're wrong. Its inside odoo-server.conf, in plain text. I don't know who ever though of that because security wise this is a very bad concept..

actualy we are talking about apples and oranges... i was talking about odoo admin user, you were talking about admin password for db management and we hawe third passwrod wich is postgres user passwrd, and my guess is that the error on bacup is caused because of that password... as for bad concept.. storing password in conf file, and putting conf file to read only location, is not bad.. except if you use root user , and plain text password for login, so low-skilled-wannabe-hacers can bruteforce your pass :) if you are not able to protect your config files... then you have major security issue way above storing passwor din some config file ;)

Author

Yenthe & Bole,,, Plz Dont Fight!!! BE FRIENDSSS

@abin no worries we aren't fighting hehe! We love to debate a bit. @Bole you're right, there are three different passwords and I guess we where both talking about others. :)

@abin:no worries at all.. this is not fighting.. more like creative thought exchange... in fact, we are friends, here on forum, and outside :) but thaks for beeing peacemaker:)