X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 19AFB9DCC44 for ; Wed, 8 Feb 2006 14:58:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15317-01 for ; Wed, 8 Feb 2006 14:58:24 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id DE2BB9DCC67 for ; Wed, 8 Feb 2006 14:58:22 -0400 (AST) Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by svr4.postgresql.org (Postfix) with ESMTP id CC5465AF066 for ; Wed, 8 Feb 2006 18:58:23 +0000 (GMT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k18IwKBf004064 for ; Wed, 8 Feb 2006 13:58:20 -0500 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k18IwJ116346 for ; Wed, 8 Feb 2006 13:58:19 -0500 Received: from vpn50-16.rdu.redhat.com (vpn50-16.rdu.redhat.com [172.16.50.16]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id k18IwIQo015485 for ; Wed, 8 Feb 2006 13:58:19 -0500 Subject: Manipulating pg_hba.conf From: David Lutterkort To: pgsql-admin@postgresql.org Content-Type: text/plain Organization: Red Hat Inc Date: Wed, 08 Feb 2006 10:58:17 -0800 Message-Id: <1139425097.3865.11.camel@currant.watzmann.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/83 X-Sequence-Number: 20504 Are there any tools out there that can manipulate pg_hba.conf programmatically ? In particular, I am looking for a program/script that lets me do things like 'add access for user X to database Y with method Z' and ask 'what access does user X have for database Y' thanks, David