Re: Adding usernames to pg_hba.conf

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Rod Taylor <rbt(at)zort(dot)ca>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Adding usernames to pg_hba.conf
Date: 2002-03-19 15:22:07
Message-ID: 29096.1016551327@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> The only thing I can think of is to dump the groups out as files and
> enable those in pg_hba.conf, perhaps just like we allow @file includes.
> I would probably use % for group names and dump them in data/global.

> How does that sound?

You mean as files named after groups? That would add a large pile of
synchronization and security issues. (If you don't think there's a
security issue, consider a group named "../pg_hba.conf".)

My advice is not to do it.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Lockhart 2002-03-19 15:46:07 Re: [HACKERS] Fixes gram.y
Previous Message Bruce Momjian 2002-03-19 13:45:54 Re: Adding usernames to pg_hba.conf