Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iXp9x-00073Y-8A for pgsql-general@arkaria.postgresql.org; Thu, 21 Nov 2019 16:18:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iXp9v-00080p-G9 for pgsql-general@arkaria.postgresql.org; Thu, 21 Nov 2019 16:18:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iXp9v-00080i-2U for pgsql-general@lists.postgresql.org; Thu, 21 Nov 2019 16:18:19 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iXp9o-00055a-Ev for pgsql-general@postgresql.org; Thu, 21 Nov 2019 16:18:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id DE0F1A3A; Thu, 21 Nov 2019 11:18:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 21 Nov 2019 11:18:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Y 3peZI6xXIjy+c1ULqUNZdjlzTsNPiCe/IUTHCXUlNg=; b=EnDSnkjCkzvdiLbvQ 4DtFKQkgqP8GS5qo+MdoDsywt9E+Q0FE7Svw1yAmTtCwf87zhCwGbvCJtp880vuK KRqCC1zeiN8Ob2hc+dIRu9tTTsv1kwyg3sP4vCIoPcPEPoNzwXYWa8bAAjcXSst3 cng2qGpc2JjN/acsFg8w+rakeeUspqFj5LOnOnQB4caCJL72qo7AhUYffUfNHNRf p0eMePmXFMF8/YL6JHbjc1i62IxBu7Pn8QZRxBNxonTZx7sMFkY+Ww0K5WsfHIRM YNrFk7uu0zX1iNDA2bUICAinvyupIL2eLyTJbMEGN4QCIpVcMRsDLQJObFSXUiF+ ehUZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Y3peZI6xXIjy+c1ULqUNZdjlzTsNPiCe/IUTHCXUl Ng=; b=Ul3MrktN4efEcO5ZzyyTmYoCmpTZoBpVlItOk1Cp+ENfd1qm6r6YB+UWJ HZnouNscop3lDNSn7qVAZGGUWVUH1HaX+4PDLHEWPLNO1FB3G6zSEEaBbbtFNkpP 8FHgEf1x3JVYRJGtzA/mP5gIZsodP+T1ILoGWWbx4vosxJQrq146mXoZCWo1Regz kUEV1owvA2g6yQbI1RUf86XWyGs9W13RbQLjtBQrhJ35Iv2e3SqFJDpitbIbQ2r/ RGQOL6a1O8r37ZNJg//WNFWnAVv5JLQiCRPoMqekOSwti7TuTZFO9BKGSH+w+PwK k4EiWOVMS1Ghx63mHnrLC8+/GAm+w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehvddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudeffedrud dukeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.133.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 747C380065; Thu, 21 Nov 2019 11:18:09 -0500 (EST) Subject: Re: Help with authentication on Debain/Ubuntu installation To: stan References: <20191121124517.GA3320@panix.com> <20191121141502.GA14731@panix.com> <20191121143539.GA18839@panix.com> <20191121161247.GE21704@panix.com> Cc: pgsql-general From: Adrian Klaver Message-ID: Date: Thu, 21 Nov 2019 08:18:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191121161247.GE21704@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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