Re: trust authentication behavior

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Denis Kirjanov <kda(at)itsirius(dot)su>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: trust authentication behavior
Date: 2015-05-14 17:42:45
Message-ID: 6562.1431625365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 05/14/2015 11:59 AM, Robert Haas wrote:
>> On Thu, May 14, 2015 at 5:16 AM, Denis Kirjanov <kda(at)itsirius(dot)su> wrote:
>>> Is it possible to restrict the trust auth method to accept local connections only using the selinux policy?

>> I would guess that it probably is, but I can't tell you how.

> I would have guessed not :-)

Yeah. AFAIK selinux is strictly a kernel-level facility so it can only
enforce things that are visible to the kernel. PG's choice of auth
method isn't.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-05-14 18:22:17 Re: [COMMITTERS] pgsql: Add pg_audit, an auditing extension
Previous Message Tom Lane 2015-05-14 17:38:49 Re: [COMMITTERS] pgsql: Add pg_audit, an auditing extension