Re: create user with password
От | Devrim GUNDUZ |
---|---|
Тема | Re: create user with password |
Дата | |
Msg-id | Pine.LNX.4.61.0412201722490.20269@emo.org.tr обсуждение исходный текст |
Ответ на | create user with password (sarlav kumar <sarlavk@yahoo.com>) |
Список | 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-----
В списке pgsql-novice по дате отправления: