X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8E2CA534C5 for ; Mon, 11 Apr 2005 00:45:16 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58404-09 for ; Mon, 11 Apr 2005 03:45:14 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id E4735534BD for ; Mon, 11 Apr 2005 00:45:13 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j3B3jEj10808; Sun, 10 Apr 2005 23:45:14 -0400 (EDT) From: Bruce Momjian Message-Id: <200504110345.j3B3jEj10808@candle.pha.pa.us> Subject: Re: Automatically updating pg_hba.conf In-Reply-To: <4253A232.5030108@jouy.inra.fr> To: Serge Obeuf Date: Sun, 10 Apr 2005 23:45:14 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/131 X-Sequence-Number: 17144 Serge Obeuf wrote: > Hi all, > > How can Administrative PostGres Client such as "pgadmin" automatically > update the server pg_hba.conf file as soon as a new user is created ? > > Thank you for telling is there is any way ? No. However, you can use groups in pg_hba.conf and just put the user into that group when you add them. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073