Configuration file for openerp-server

Asked by Kevin Beckford

 Specifically: is there any case where the openerp confguration becomes read-write instead of read-only?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenERP Edit question
Assignee:
No assignee Edit question
Solved by:
Kevin Beckford
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Kevin Beckford ,

Which type of OpenERP configuration did you want to change?

Thanks.

Revision history for this message
openT (useruser) said :
#2

Hi,

I may not be right, but I don't think OpenERP writes it's configuration file. In my case, when I installed the server, it didn't even create a default config file; I had to create manually and point the file to the server using the --config command.

Revision history for this message
Kevin Beckford (chiggsy) said :
#3

See, I though that as well, but I noticed that the config had been changed via git diff.

Revision history for this message
Kevin Beckford (chiggsy) said :
#4

That's the question I need answered. It would be ludicrous indeed to allow a server to change the config file that governs it, obviously.

Revision history for this message
Kevin Beckford (chiggsy) said :
#5

And yet, here we are:

"You can delete the configuration file to be quite sure that the Open ERP server is starting with just the default options. It is quite common for an upgraded system to behave badly because a new version server cannot work with options from a previous version. When the server starts without a configuration file it will write a new one once there is something non-default to write to it – it will operate using defaults until then."

Also:

"After first installation, the password is admin. This is the hard-coded default, and is used if there is no accessible server configuration file. If your system has been set up so that the server configuration file can be written to by the server then you can change the password through the client. Or you could deliberately make the configuration file read-only so that there is no prospect of changing it from the client. Either way, a server systems administrator can change it if you forget it."

http://test.openerp.com/book/1/1_1_Inst_Config/1_1_Inst_Config_db_create.html

So, the default is to write to the config file , only if something becomes non standard. Madness.