From 663aa572eaf6d1bd9a6f3a6fe2833223c0f7cab5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sat, 27 Nov 2010 22:03:39 +0100 Subject: [PATCH] Bug 416784: In PostgreSQL 8.1 and newer, createuser takes the argument -R instead of -A r=manu a=LpSolit --- docs/en/xml/installation.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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. +
-- 2.47.2