Re: probable pg_hba.conf configuration issues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ravi Roy <ravi(dot)aroy(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: probable pg_hba.conf configuration issues
Date: 2014-05-07 14:47:27
Message-ID: 27589.1399474047@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ravi Roy <ravi(dot)aroy(at)gmail(dot)com> writes:
> Using command line : psql -U superuser1 & psql -U normaluser1 asks for
> password and login successfully. - perfect. (We are only alloing local
> connections, remote connections to database are disabled)

> But if I try to connect using pgadmin (from the same machine) it gives
> acess to database without password, i'm surprised as it does not seem to
> respect pg_hba.conf or i'm terribly wrong in the configuration somewhere.

pgadmin is no doubt caching the password somewhere. I think it uses
~/.pgpass, though psql would too, so maybe there's something
pgadmin-specific involved.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2014-05-07 14:49:30 Re: probable pg_hba.conf configuration issues
Previous Message Ravi Roy 2014-05-07 14:33:12 probable pg_hba.conf configuration issues