psql security fail?

From: Maxy <maxy0440yxam(at)yahoo(dot)it>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: psql security fail?
Date: 2013-11-03 20:20:21
Message-ID: 1383510021.28409.YahooMailNeo@web28804.mail.ir2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Good morning, i have a pg_hba.conf

local   all             all                                     md5
host    all             all             127.0.0.1/32            md5

if i do a

psql -d mydb

pg asks me the password but if i do

psql -U postgresql -d mydb

pg don't ask me the password.
PostgreSQL 9.2.4 on i686-pc-linux-gnu, compiled by gcc (GCC) 4.7.1, 32-bit

i did some tries, and the same configuration and the same source
compiled on slackware arm 14.0 on a raspberry works without the bug.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-11-03 20:41:52 Re: psql security fail?
Previous Message mgr inż. Jacek Bzdak 2013-11-03 20:05:21 Re: Fwd: Problems with pg_stat_activity view