コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9274 ビュー

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 ?

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
6月 23
2039
3
1月 17
9948
2
12月 19
6058
0
10月 18
3127
5
1月 18
14650