Re: Adding usernames to pg_hba.conf - Mailing list pgsql-patches

From Tom Lane
Subject Re: Adding usernames to pg_hba.conf
Date
Msg-id 29096.1016551327@sss.pgh.pa.us
Whole thread Raw
In response to Re: Adding usernames to pg_hba.conf  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Adding usernames to pg_hba.conf  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Adding usernames to pg_hba.conf
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Fixes gram.y