Re: postgresql database password

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reed Kempf <rkempf(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: postgresql database password
Date: 2005-11-12 17:40:53
Message-ID: 28420.1131817253@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Reed Kempf <rkempf(at)gmail(dot)com> writes:
> I read that the -W prompts for a password. I give the password test which I
> set up when I created the user test and it let me in. The problem is I also
> run the same command line login and didn't specify a password.
> Am I missing something with authentication, perhaps a config file setting.

Yup. Password authentication is not the default, you need to adjust
pg_hba.conf if you want to use it. See "Client Authentication" in the
manual.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bill Dika 2005-11-12 18:58:14 Application using PostgreSQL as a back end (experienced programmers please)
Previous Message Reed Kempf 2005-11-12 16:48:07 postgresql database password