Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9000 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 23
1829
3
thg 1 17
9643
2
thg 12 19
5780
0
thg 10 18
2853
5
thg 1 18
14383