From: | Devrim GUNDUZ <devrim(at)gunduz(dot)org> |
---|---|
To: | sarlav kumar <sarlavk(at)yahoo(dot)com> |
Cc: | pgsqlnovice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: create user with password |
Date: | 2004-12-20 15:24:20 |
Message-ID: | Pine.LNX.4.61.0412201722490.20269@emo.org.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Mon, 20 Dec 2004, sarlav kumar wrote:
> I logged in as postgres user and created a new user 'test' with a password.
> create user test with password 'test';
>
> But when I use the -U option to login with the new user 'test', it does
> not ask for password and directly logs me in. If I use -u(without
> capitalization), it asks for the username and password. I know that -u
> is deprecated. Is there a way to get -U option to ask for the password
> before logging in?? Or am I doing anything wrong here?
You have to enable password authentication first:
http://www.postgresql.org/docs/7.4/interactive/client-authentication.html
Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFBxu6mtl86P3SPfQ4RAnQCAJwPfDAULJAfTmq7H5dSIoLW/5nWygCfdmHK
n1S7P7xIEueDP9qftsuc7rk=
=YpZE
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Marcin Gil | 2004-12-20 15:25:05 | Re: create user with password |
Previous Message | Tom Lane | 2004-12-20 15:22:01 | Re: Drop does not always drop |