From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Desidero <desidero@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: pgpass file type restrictions
Date: Thu, 19 Oct 2017 09:44:18 -0400
Message-ID: <79480a76-2028-b348-1523-8b48f627fde4@2ndQuadrant.com> (raw)
In-Reply-To: <CABvH9hUswpuxtghXO5aWi5C_kM38BeL-oun4K6WWkDEUCBi+dA@mail.gmail.com>
References: <CABvH9hXLDEhy8eGxLyXzaXMdPuQYd5_=f-u4VUZ4SQs_VMSe2Q@mail.gmail.com>
<11556.1508393575@sss.pgh.pa.us>
<b6ea3b87-6c30-a324-aa9b-287345dd74f1@2ndQuadrant.com>
<CABvH9hUswpuxtghXO5aWi5C_kM38BeL-oun4K6WWkDEUCBi+dA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On 10/19/2017 09:20 AM, Desidero wrote:
> I agree that it would be better for us to use something other than
> LDAP, but unfortunately it's difficult to convince the powers that be
> that we can/should use something else that they are not yet prepared
> to properly manage/audit. We are working towards it, but we're not
> there yet. It's not really an exuse, but until the industry password
> policies are modified to outright ban passwords, many businesses will
> probably be in this position.
>
> In any event, is the use case problematic enough that it would prevent
> the proposed changes from being implemented? I could submit a patch to
> postgres hackers if necessary, but if it's undesirable I can figure
> out something else.
>
Please don't top-post on the PostgreSQL lists.
You said you wanted to allow anonymous pipes, but I think what you
really want is a named pipe.
I don't see any reason in principle to disallow use of a named pipe as a
password file. It could be a bit of a footgun, though, since writing to
the fifo would block until it was opened by the client, so you'd need to
be very careful about that.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andrew.dunstan@2ndquadrant.com, desidero@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: pgpass file type restrictions
In-Reply-To: <79480a76-2028-b348-1523-8b48f627fde4@2ndQuadrant.com>
References: <CABvH9hXLDEhy8eGxLyXzaXMdPuQYd5_=f-u4VUZ4SQs_VMSe2Q@mail.gmail.com> <11556.1508393575@sss.pgh.pa.us> <b6ea3b87-6c30-a324-aa9b-287345dd74f1@2ndQuadrant.com> <CABvH9hUswpuxtghXO5aWi5C_kM38BeL-oun4K6WWkDEUCBi+dA@mail.gmail.com> <79480a76-2028-b348-1523-8b48f627fde4@2ndQuadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox