From: Frédéric Buclin Date: Sat, 27 Nov 2010 21:03:39 +0000 (+0100) Subject: Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead... X-Git-Tag: bugzilla-4.0rc2~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=663aa572eaf6d1bd9a6f3a6fe2833223c0f7cab5;p=thirdparty%2Fbugzilla.git Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead of -A r=manu a=LpSolit --- diff --git a/docs/en/xml/installation.xml b/docs/en/xml/installation.xml index f311149b6b..357dedcaed 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -843,12 +843,16 @@ max_allowed_packet=4M As the postgres user, you then need to create a new user: - bash$ createuser -U postgres -dAP bugs + bash$ createuser -U postgres -dRSP bugs When asked for a password, provide the password which will be set as $db_pass in localconfig. - The created user will have the ability to create databases and will not be - able to create new users. + The created user will not be a superuser (-S) and will not be able to create + new users (-R). He will only have the ability to create databases (-d). + + + If your are running PostgreSQL 8.0, you must replace -dRSP by -dAP. +