From: | "Sriram Dandapani" <sdandapani(at)counterpane(dot)com> |
---|---|
To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_hba changes not honored |
Date: | 2006-08-23 22:50:55 |
Message-ID: | 6992E470F12A444BB787B5C937B9D4DF0574FF3E@ca-mail1.cis.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
This problem occurs only when the changes are made while postmaster is
running and pg_ctl is used to reload config files.
When the changes are applied and postmaster is stopped and restarted, it
works fine.
-----Original Message-----
From: Joshua D. Drake [mailto:jd(at)commandprompt(dot)com]
Sent: Wednesday, August 23, 2006 3:44 PM
To: Tom Lane
Cc: Sriram Dandapani; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] pg_hba changes not honored
Tom Lane wrote:
> "Sriram Dandapani" <sdandapani(at)counterpane(dot)com> writes:
>> When I update pg_hba.conf to disallow certain client machines from
>> connectiong (update pg_hba.conf, pg_ctl reload), I still see new
>> connections appearing in the process list from the clients I want to
>> disconnect.
>
> Sounds to me like a mistake in your pg_hba file, ie, there is still
> a line that allows them to connect. We've also heard of people
editing
> the wrong copy of pg_hba.conf, or sighup'ing the wrong postmaster ...
That is actually quite common, especially on Ubuntu :)
Joshua D. Drake
>
> regards, tom lane
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-23 22:59:36 | Re: pg_hba changes not honored |
Previous Message | Joshua D. Drake | 2006-08-23 22:43:36 | Re: pg_hba changes not honored |