Re: Postgresql allow connections without password [SOLVED]

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: debian nick <debianick(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql allow connections without password [SOLVED]
Date: 2012-01-13 19:15:05
Message-ID: 4F1082B9.5010408@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Dew 2012-01-13 21:10:00 Re: indexes no longer used after shutdown during reindexing
Previous Message debian nick 2012-01-13 17:10:58 Re: Postgresql allow connections without password [SOLVED]