diff options
| author | P. Christeas <p_christ@hol.gr> | 2009-06-13 18:15:59 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2009-06-13 18:15:59 +0300 |
| commit | 133d34b24cb82e02c6c73eae9f07b4bdb5b96aab (patch) | |
| tree | e0f2f64787689a5ae20efaf5bb38a943f9b30716 /doc | |
| parent | fbd87ff9608086288d8090115033cecee4523191 (diff) | |
[MAJOR]: change the system user for Mandriva to "openerp".
After this commit, systems MUST upgrade their installations.
bzr revid: p_christ@hol.gr-20090613151559-4yffmcnpq8d36jas
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/README.urpmi | 2 | ||||
| -rw-r--r-- | doc/README.userchange | 31 | ||||
| -rw-r--r-- | doc/openerp-server.conf | 2 | ||||
| -rw-r--r-- | doc/openerp-server.init | 2 |
4 files changed, 34 insertions, 3 deletions
diff --git a/doc/README.urpmi b/doc/README.urpmi index 719ac8249f3..ce8fb706703 100644 --- a/doc/README.urpmi +++ b/doc/README.urpmi @@ -18,7 +18,7 @@ unix user name): $ su - # su - postgres - $ createuser tinyerp + $ createuser openerp Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) y CREATE USER diff --git a/doc/README.userchange b/doc/README.userchange new file mode 100644 index 00000000000..f6cc0ab0666 --- /dev/null +++ b/doc/README.userchange @@ -0,0 +1,31 @@ +Important note for OpenERP build >= 5.0.1-11xrg: + +THE USERNAME HAS CHANGED!! + +Former user "tinyerp" is now called "openerp". + + +For that, you will have to make sure the following files are chowned +to the new user: + +/var/log/openerp +/var/spool/openerp +/var/run/openerp +/etc/openerp +/etc/openerp/cert.cfg +/etc/openerp-server.conf +/etc/logrotate.d/openerp-server + +Then, rename the user in the postgres database: + + psql -U postgres postgres + + ALTER ROLE tinyerp RENAME TO openerp; + +Then, edit your openerp-server.conf to depict the change: +- db_user = tinyerp ++ db_user = openerp + +Good luck! + + diff --git a/doc/openerp-server.conf b/doc/openerp-server.conf index 668b4aaf7cb..3b58a008329 100644 --- a/doc/openerp-server.conf +++ b/doc/openerp-server.conf @@ -13,7 +13,7 @@ db_port = False ; Please uncomment the following line *after* you have created the ; database. It activates the auto module check on startup. ; db_name = terp -db_user = tinyerp +db_user = openerp db_password = False ; Uncomment these for xml-rpc over SSL ; secure = True diff --git a/doc/openerp-server.init b/doc/openerp-server.init index 01d2b7b6b33..d9cc35362f9 100644 --- a/doc/openerp-server.init +++ b/doc/openerp-server.init @@ -51,7 +51,7 @@ RETVAL=0 start() { echo -n $"Starting $desc ($prog): " - daemon --user tinyerp --check openerp-server \ + daemon --user openerp --check openerp-server \ "/usr/bin/setsid /usr/bin/openerp-server \ -c /etc/openerp-server.conf \ --pidfile=$PIDFILE \ |
