From b4cb989e1705144cffab25dd2d7ea80091232bdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sat, 27 Nov 2010 22:04:55 +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 22de51ffd6..1e8003e6ba 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -855,12 +855,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.3