pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15162: individual user can connect from anywhere with pgadmin
2+ messages / 2 participants
[nested] [flat]

* BUG #15162: individual user can connect from anywhere with pgadmin
@ 2018-04-19 09:34 PG Bug reporting form <noreply@postgresql.org>
  2018-04-19 10:11 ` RE: BUG #15162: individual user can connect from anywhere with pgadmin Greg Clough <greg.clough@ipreo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2018-04-19 09:34 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: ravikkumar.22@gmail.com

The following bug has been logged on the website:

Bug reference:      15162
Logged by:          Ravikumar S
Email address:      ravikkumar.22@gmail.com
PostgreSQL version: 10.3
Operating system:   rhel
Description:        

in pg_hba.conf 
host     all     all   0.0.0.0/0 only pgadmin work from anywhere.
host     all     user  0.0.0.0/0 user cant connect from anywhere

my project's application server running from  XX.XXX.XX.XX and i created
user for accessing database from that host
so in pg_hba.conf i configured this for app user.
host    db1   apuser  xx.xx.xxx.xxx/0

for monitoring purpose i created one more user with select permission only
he should connect database from anywhere.
with below configuration
host    db1   apuser   xx.xxx.xx.xx      ---------for app user  only connect
from that ip address
host    db1    monuser  0.0.0.0/0         --------- this user should connect
from anywhere


its not working...is there any way for individual user connection
restriction in pg_hba.conf file.???

please help with this



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE: BUG #15162: individual user can connect from anywhere with pgadmin
  2018-04-19 09:34 BUG #15162: individual user can connect from anywhere with pgadmin PG Bug reporting form <noreply@postgresql.org>
@ 2018-04-19 10:11 ` Greg Clough <greg.clough@ipreo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Greg Clough @ 2018-04-19 10:11 UTC (permalink / raw)
  To: ravikkumar.22@gmail.com <ravikkumar.22@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

Hi Ravikumar,

This isn't a bug, so please post it to a more appropriate list such as pgsql-admin:

        https://www.postgresql.org/list/

But first, try debugging it yourself:

        https://www.postgresql.org/docs/10/static/auth-pg-hba-conf.html

The format of your config lines doesn't seem correct, so check your postgresql.log for errors when you reload it.

Greg Clough
Senior Technology Engineer

Ipreo
Castle House | 37-35 Paul St | London EC2A 4LS

-----Original Message-----
From: PG Bug reporting form [mailto:noreply@postgresql.org]
Sent: Thursday, April 19, 2018 10:35 AM
To: pgsql-bugs@lists.postgresql.org
Cc: ravikkumar.22@gmail.com
Subject: BUG #15162: individual user can connect from anywhere with pgadmin

The following bug has been logged on the website:

Bug reference:      15162
Logged by:          Ravikumar S
Email address:      ravikkumar.22@gmail.com
PostgreSQL version: 10.3
Operating system:   rhel
Description:

in pg_hba.conf
host     all     all   0.0.0.0/0 only pgadmin work from anywhere.
host     all     user  0.0.0.0/0 user cant connect from anywhere

my project's application server running from  XX.XXX.XX.XX and i created
user for accessing database from that host
so in pg_hba.conf i configured this for app user.
host    db1   apuser  xx.xx.xxx.xxx/0

for monitoring purpose i created one more user with select permission only
he should connect database from anywhere.
with below configuration
host    db1   apuser   xx.xxx.xx.xx      ---------for app user  only connect
from that ip address
host    db1    monuser  0.0.0.0/0         --------- this user should connect
from anywhere


its not working...is there any way for individual user connection
restriction in pg_hba.conf file.???

please help with this

Confidential Disclaimer: ****************************************************************** This e-mail message and any attachments are confidential. Dissemination, distribution or copying of this e-mail or any attachments by anyone other than the intended recipient is prohibited. If you are not the intended recipient, please notify Ipreo immediately by replying to this e-mail, and destroy all copies of this e-mail and any attachments. Thank you! ******************************************************************


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-04-19 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 09:34 BUG #15162: individual user can connect from anywhere with pgadmin PG Bug reporting form <noreply@postgresql.org>
2018-04-19 10:11 ` Greg Clough <greg.clough@ipreo.com>

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