Skip site navigation (1) Skip section navigation (2)

CREATE USER ...

From: CRI74 - Fabien Combernous <fc-tech(at)cri74(dot)fr>
To: pgsql-admin(at)postgresql(dot)org
Subject: CREATE USER ...
Date: 2004-12-16 10:41:57
Message-ID: 41C16675.50904@cri74.fr (view raw or flat)
Thread:
Lists: pgsql-admin
Hello,

I'm trying to create new user. What is wrong in this ?

template1=# CREATE USER sympa WITH UNENCRYPTED PASSWORD 'kiki' 
NOCREATEDB NOCREATEUSER;
CREATE USER
template1=# \c - sympa
Password:
FATAL 1:  Password authentication failed for user "sympa"

Previous connection kept
template1=#

In log file i see : "verify_password: user 'sympa' not found in password 
file."


Then to verify that user is created i tried this :
CREATE USER sympa WITH UNENCRYPTED PASSWORD 'kiki' NOCREATEDB NOCREATEUSER;
ERROR:  CREATE USER: user name "sympa" already exists
template1=#

-- 
IT ressources center of Haute Savoie
Saleve Building, International Business parc of Archamps, France
Tel : +33450315630 - Fax : +33450953817 - http://www.cri74.fr

Responses

pgsql-admin by date

Next:From: Loránt IstvánDate: 2004-12-16 11:26:56
Subject: missing schemas from template1
Previous:From: Sam MortimerDate: 2004-12-16 10:06:54
Subject: robust way of moving tables to a different disk??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group