I can read the Postgres server username and password inside the openerp-server.conf file, how to hide/encrypt the Postgres password?
Removing/changing the values will prevent openerp server from connecting to postgresql database server.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I can read the Postgres server username and password inside the openerp-server.conf file, how to hide/encrypt the Postgres password?
Removing/changing the values will prevent openerp server from connecting to postgresql database server.
You can't BUT you can make it secure.
Adjust the permisions of the file:
chmod 600 openerp-server.conf
You should change your PostgreSQL Server configuration.
If you run the OpenERP server with a openerp user make sure the pg_hba.conf file has a setting telling the postgresql server to use peer or ident authentication and not MD5.
If this is the case you are able to just put the db_user=openerp in your OpenERP server config file and it will no longer be needed to put the password in the config file.
André Schenkels
In my openerp-server.conf, there is only written admin_passwd in plain text, but not the password for postgres database user, although my psql authentication mode in pg_hba.conf file is set to MD5...
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 5 25
|
667 | ||
|
6
thg 7 17
|
11028 | ||
|
2
thg 12 15
|
8972 | ||
Master password for database
Đã xử lý
|
|
1
thg 10 20
|
3396 | |
|
1
thg 2 20
|
4549 |