Re: (unknown) - Mailing list pgsql-novice

From Thomas Kellerer
Subject Re: (unknown)
Date
Msg-id ijj42k$gnu$1@dough.gmane.org
Whole thread Raw
In response to  (siva kiran balijepalli <b.sivakiran@gmail.com>)
List pgsql-novice
siva kiran balijepalli, 17.02.2011 13:10:
> I want to create a user account
>
> So I tried to use “create user” command. but then it is not asking for
> password..User is created.
>
> But when I want to enter the db with that user it is prompting for password.
>
> So how do we create user with password
>
> Please guide me..

Check out the manual, it's all explained there.

The syntax is: CREATE USER newuser PASSWORD 'verysecret';

http://www.postgresql.org/docs/current/static/sql-createuser.html

Regards
Thomas

pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: Re:
Next
From: Andrej
Date:
Subject: Re: regarding user creation