pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #12203: No password dialog when access the postgresql server 2+ messages / 2 participants [nested] [flat]
* BUG #12203: No password dialog when access the postgresql server @ 2014-12-11 08:35 wangzhipengkmust@126.com 2014-12-11 19:49 ` Re: BUG #12203: No password dialog when access the postgresql server Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: wangzhipengkmust@126.com @ 2014-12-11 08:35 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 12203 Logged by: Grady Email address: wangzhipengkmust@126.com PostgreSQL version: 9.3.5 Operating system: Red hat 6.5 Description: Hi Master When i access the postgresql server, no password verfication appear. My postgresql server[Revision:9.3.5] installed in REDHAT 6.5. I modifed access method MD5 in the pg_hba.conf. When i used pgadmin and access the server from localhost, everything is normal(password dialog appear). The pg_hba.conf was as below: # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 md5 host all all 9.0.0.1/8 md5 host all all 172.0.0.1/8 md5 When I use the command in my window7 client: "psql.exe -U postgres -h9.115.195.245" After i typed enter, i directly accessed the postgres server. There isnt any password dialog appear. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #12203: No password dialog when access the postgresql server 2014-12-11 08:35 BUG #12203: No password dialog when access the postgresql server wangzhipengkmust@126.com @ 2014-12-11 19:49 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2014-12-11 19:49 UTC (permalink / raw) To: wangzhipengkmust@126.com; +Cc: pgsql-bugs wangzhipengkmust@126.com writes: > When i access the postgresql server, no password verfication appear. > My postgresql server[Revision:9.3.5] installed in REDHAT 6.5. I modifed > access method MD5 in the pg_hba.conf. When i used pgadmin and access the > server from localhost, everything is normal(password dialog appear). > The pg_hba.conf was as below: > # TYPE DATABASE USER ADDRESS METHOD > # "local" is for Unix domain socket connections only > local all all md5 > # IPv4 local connections: > host all all 127.0.0.1/32 md5 > host all all 9.0.0.1/8 md5 > host all all 172.0.0.1/8 md5 > When I use the command in my window7 client: > "psql.exe -U postgres -h9.115.195.245" > After i typed enter, i directly accessed the postgres server. There isnt any > password dialog appear. The most likely reason is that your windows machine has a .pgpass file set up with the password. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2014-12-11 19:49 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2014-12-11 08:35 BUG #12203: No password dialog when access the postgresql server wangzhipengkmust@126.com 2014-12-11 19:49 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox