Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
9366 Zobrazení

On postgresql, there is the openerp user, it gives the possiblity to interact with postgres via user interface. I want to get the password.

On shell, I went to psql template1, and I performed :

select passwd from pg_user where usename = 'openerp'; 

but the password is crypted, is there any way to know the uncrypted password ?

Avatar
Zrušit
Nejlepší odpověď

If you can start your openerp server then password is in config file,

Look at /etc/openerp-server.conf (or some custom location) open the file and read the ass (db_password = some_pass)

Otherwise, if you can't run openerp server, then you will first need to change the password, 
(and write new one in config file ,restart server)
if you need to change pass:
psql
alter role openerp with password 'your_new_password';

hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 23
2117
3
led 17
10057
2
pro 19
6172
0
říj 18
3254
5
led 18
14774