Re: probable pg_hba.conf configuration issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: probable pg_hba.conf configuration issues
Дата
Msg-id 27589.1399474047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на probable pg_hba.conf configuration issues  (Ravi Roy <ravi.aroy@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Ravi Roy
Дата:
Сообщение: probable pg_hba.conf configuration issues
Следующее
От: Sim Zacks
Дата:
Сообщение: Re: probable pg_hba.conf configuration issues