Re: md5 and trust and pg_hba.conf
| От | Sameer Kumar |
|---|---|
| Тема | Re: md5 and trust and pg_hba.conf |
| Дата | |
| Msg-id | CADp-Sm446qLaiwW70SCykX-T_BMfd7kuUQgTey=u2mSDr6o=Kw@mail.gmail.com обсуждение исходный текст |
| Ответ на | md5 and trust and pg_hba.conf ("Rossi, Maria" <maria.rossi@jackson.com>) |
| Ответы |
RE: md5 and trust and pg_hba.conf
RE: md5 and trust and pg_hba.conf |
| Список | pgsql-sql |
Hi,
Question on pg_hba.conf. I have these entries:
host all psgdba localhost trust
host all psgdba 127.0.0.1/32 trust
host all gd07 localhost trust
host all gd07 127.0.0.1/32 trust
Command to logon to Postgres:
/usr/pgsql-9.3/bin/psql -d postgres
If I am logged on ‘gd07’ at the server , it lets me log-on to Postgres without prompting for password
If I am logged on as ‘psgdba’, it prompts for password.
As you can see, both have ‘trust’, but ‘gd07’ is the instance owner.
Why does ‘psgdba’ prompts? What I am missing?
Your help would be much appreciated.
Thanks.
Maria
Sameer Kumar | Senior Solution Architect
ASHNIK PTE. LTD.
36 Robinson Road, #14-04 City House, Singapore 068877
T: +65 6438 3504 | www.ashnik.com
Skype: sameer.ashnik | M: +65 8110 0350

В списке pgsql-sql по дате отправления: