Re: Requiring a password

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
Cc: "Ralph Smith" <smithrn(at)washington(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: Requiring a password
Date: 2008-03-05 20:27:45
Message-ID: 3233.1204748865@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com> writes:
> On 06/03/2008, Ralph Smith <smithrn(at)washington(dot)edu> wrote:
>> Even after reloading and restarting the DB, which shouldn't be necessary,
>> smithrn still gets in w/o any password checks.
>> How come?

> Impossible to answer w/o knowing any entries in your pg_hba.conf

I think the OP expects the act of assigning a password to a particular
role to be enough to cause password authentication to be used. It's
not: you have to make sure that pg_hba.conf specifies that auth method.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dmp 2008-03-05 20:34:07 Re: Changing column names in tables 2
Previous Message Alvaro Herrera 2008-03-05 20:01:12 Re: Changing column names in tables 2