From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Help with authentication on Debain/Ubuntu installation
Date: Thu, 21 Nov 2019 08:18:08 -0800
Message-ID: <a300b005-e176-2fb4-59bd-65c12acec8d9@aklaver.com> (raw)
In-Reply-To: <20191121161247.GE21704@panix.com>
References: <20191121124517.GA3320@panix.com>
<CABUevEw3e97aG1Z8fhaFN9QpgdduE_yP3s+1huvLwkC6aWNAeg@mail.gmail.com>
<20191121141502.GA14731@panix.com>
<20191121143539.GA18839@panix.com>
<ccd6af85-ae12-6e8e-82bb-f8ed6a46dd59@aklaver.com>
<20191121161247.GE21704@panix.com>
On 11/21/19 8:12 AM, stan wrote:
Please reply to list also
Ccing list.
> On Thu, Nov 21, 2019 at 07:56:10AM -0800, Adrian Klaver wrote:
>> On 11/21/19 6:35 AM, stan wrote:
>>> If the 1st rule matches, I am thinking this will override any rule I put in
>>> after such as:
>>>
>>> local all postgres md5
>>>
>>> Is my understanding of this correct?
>>
>> Yes.
>>
>> The question is whether you really need a password connection to a local
>> socket or not?
>>
>> If so then you will need to make the change and deal with any scripts that
>> are expecting a password free socket connection.
>>
>> If not leave it alone. If you want to test password connection then use a -h
>> localhost to get a host connection.
>>
>>
>
> Ugly. Thanks though I think I can skin this cat with a dfferent tool. I am
> going to try setting te needed users as the posgres db superuser.
I would avoid that if at all possible, a superuser can wreak a lot of
havoc intentionally or unintentionally.
It would help if you could spell out what you want to achieve, as I am
sure it has been done before by multiple people on this list.
>
> Thnaks.
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, stanb@panix.com
Subject: Re: Help with authentication on Debain/Ubuntu installation
In-Reply-To: <a300b005-e176-2fb4-59bd-65c12acec8d9@aklaver.com>
References: <20191121124517.GA3320@panix.com> <CABUevEw3e97aG1Z8fhaFN9QpgdduE_yP3s+1huvLwkC6aWNAeg@mail.gmail.com> <20191121141502.GA14731@panix.com> <20191121143539.GA18839@panix.com> <ccd6af85-ae12-6e8e-82bb-f8ed6a46dd59@aklaver.com> <20191121161247.GE21704@panix.com> <a300b005-e176-2fb4-59bd-65c12acec8d9@aklaver.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