Community mailing list archives

Re: how to change user password using psql

redCOR AG, robert rottermann
- 03/24/2015 03:06:56
Thanks Gustavo
On 23.03.2015 21:52, Gustavo Marino wrote:
> Robert:
> I think you are not asking about Postgresql role password, but the Odoo login 
> password.
> I you don't remember your password, you could always reset it, via UI. This is 
> the recommended way.
ah, and how would I do that?

I must admit, that I am very new to odoo (as you might have guessed)..

> But as a hack, if you wanna set the password to certain value, you should set 
> on database the field password on res users in clear text, Then you could use 
> this password just once. At the first login it will be encrypted and stored in 
> password_crypt (see module auth_crypt), and the clear text version removed.
perfect. This is exactly the information I needed.

And, maybe you could tell me what module is used to set that encrypted password.
I would like to step trough it to understand what happens.