Re: Postgresql allow connections without password [SOLVED] - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Postgresql allow connections without password [SOLVED]
Date
Msg-id 4F1082B9.5010408@gmail.com
Whole thread Raw
In response to Re: Postgresql allow connections without password [SOLVED]  (debian nick <debianick@gmail.com>)
List pgsql-general
On 01/13/2012 09:10 AM, debian nick wrote:
> Thanks raymond, you were right, i never think that psql was using
> .pgpass file. When a delete it psql ask me for the password.
> THANKS I’ll never figure that out.

You still should check your pg_hba.conf file for trust and ident
connection rules. .pgpass only comes into play when the connection calls
for password authentication. If the pg_hba file has rules that allow
connections without passwords they will occur with or without the
presence of a .pgpass file.

>
>
--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: debian nick
Date:
Subject: Re: Postgresql allow connections without password [SOLVED]
Next
From: Matt Dew
Date:
Subject: Re: indexes no longer used after shutdown during reindexing