Re: probable pg_hba.conf configuration issues - Mailing list pgsql-general

From Tom Lane
Subject Re: probable pg_hba.conf configuration issues
Date
Msg-id 27589.1399474047@sss.pgh.pa.us
Whole thread Raw
In response to probable pg_hba.conf configuration issues  (Ravi Roy <ravi.aroy@gmail.com>)
List pgsql-general
Ravi Roy <ravi.aroy@gmail.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


pgsql-general by date:

Previous
From: Ravi Roy
Date:
Subject: probable pg_hba.conf configuration issues
Next
From: Sim Zacks
Date:
Subject: Re: probable pg_hba.conf configuration issues