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 1hpdrn-0003mq-Rr for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 19:20:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpdrl-0007sG-WA for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2019 19:20:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpdrl-0007pv-Ni for pgsql-hackers@lists.postgresql.org; Mon, 22 Jul 2019 19:20:57 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpdri-00036w-OF for pgsql-hackers@lists.postgresql.org; Mon, 22 Jul 2019 19:20:57 +0000 Received: by mail-yw1-xc44.google.com with SMTP id g19so15565118ywe.2 for ; Mon, 22 Jul 2019 12:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gQcM7/eMWZ09XF7+euJTuamkBni8/yHDxKSYP3MJ2Fs=; b=gEWJUpevWBdzFvUNecSBgNJ80nHrGzsNzRiGNRI55lOuhGyemgjIIR/az8nttsjl5O RlaXabbssuH8UcfV7hbYBlyKJnc8c7VGw7KOAyIkX/Bs8dh1gLM8IMrTbKX5/7gfKtTo XxskpFGUaJM4x4e/lIfU/xf/nT+MpdA7n9Ky2Xvo7cJ/c7P67n949oYRqWb9ozxiQD43 uPjmVd7gUkujYNg7PVT0oS/PLy0sNH4W7k7ogR87aZF0Wmzo0NGzI3fOchsIEn+eo3ec 2Xt3kzOUeKUk5Q5Ea20KP+Ov9SMX6FN7QW1Iw+joIDBDwY9z+XZEMLMa1yNnb1hK+4qd ABjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=gQcM7/eMWZ09XF7+euJTuamkBni8/yHDxKSYP3MJ2Fs=; b=sNqfI5VsLkuw4OxEfT6No/GmM0Vuy6ylF5ULWYnv7OXhqZMTXoLlaVXOMPrS3Yi8S7 jan6tXvtjzli+ONMn7+9wQZuwhd/uZeqvuqhRWdN7hihd3WZ0mavlwGXsMrBVgjlda93 GjSOIPjbCU6ZpkVTGawMHvfNiMZrdkqJOTOMsZSYK3cxaJXVly4uff3aj5+g7diZsjzP z0jdwjXOs31BrBF64R0YQzc3xbn/3Cd21Nbwm0PfZO6rYntWw8Lz+GKdbHMDFMggNFgr QaxGYxFbpj1SxF/4wVNuBLmYBUw+3uw742OCsYBACrWLCy5PA/pBcf0lzHwcCyM/RFTB 9BuA== X-Gm-Message-State: APjAAAXFsgkI+Y7iPnmBJsY3x/juSV66yDEVvd0ZhR4rcSYsQu8zLNjK tEyLfFsXW5RWrNmTBzQqzwz2qwvpMo0+BjDbNazwECDlX2KjrB9nNIboLiYiDk7iAnGaErJTw4v xqUstFvatEgZhpE6iI0ms2GNXQN+rDwega9oGl8HSK2Oz/qm3PEOz1bZuB75GiJAwudNNZd8n8T 4rqfpg8AbtT3N1jjjZ8AsZdTU= X-Google-Smtp-Source: APXvYqxvZYNU7UMLAbBbeRNErTE+WVQb7wzj/zy/ASzk0lbkBUqURX3tgsNUGEt1o8dhH37G15di9A== X-Received: by 2002:a81:838a:: with SMTP id t132mr40216259ywf.159.1563823251872; Mon, 22 Jul 2019 12:20:51 -0700 (PDT) Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net. [99.10.92.30]) by smtp.gmail.com with ESMTPSA id f7sm9671223ywb.103.2019.07.22.12.20.51 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jul 2019 12:20:51 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: initdb recommendations To: Tom Lane , Peter Eisentraut Cc: Andrew Dunstan , pgsql-hackers@lists.postgresql.org References: <20190406180839.GA1921989@rfd.leadboat.com> <96389374-9454-d26d-6f79-7c7b15ec14bd@2ndquadrant.com> <91f8272f-117f-2a04-862b-871a7b86eeed@2ndquadrant.com> <7b6c4220-e5ef-2a13-18ad-af596c52b71a@2ndquadrant.com> <23654.1563804669@sss.pgh.pa.us> <7886.1563812705@sss.pgh.pa.us> <27724.1563813541@sss.pgh.pa.us> <12115.1563822921@sss.pgh.pa.us> Openpgp: preference=signencrypt Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNL0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+wsCY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXg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iw646UphdYzQNymf+kbiU5Kf4I6DhzV8w9sie1Bo1juNj3I c5/fFJsmxljbnaDbXPcnFsur1Oo9mIHFakgWgOBMuxoWfjONiLjjLh/9+ZIqSSLX Message-ID: <5abe622e-78e3-a82c-5f50-3b7295db7056@2ndQuadrant.com> Date: Mon, 22 Jul 2019 15:20:50 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <12115.1563822921@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/22/19 3:15 PM, Tom Lane wrote: > I wrote: >> BTW, it looks like the Windows buildfarm critters have a >> separate problem: they're failing with >> initdb: error: must specify a password for the superuser to enable md5 authentication > I tried doing a run on gaur (old HPUX, so no "peer" auth) before the > revert happened. It got as far as initdb-check [1], which failed quite > thoroughly with lots of the same error as above. Depressingly, a lot of > the test cases that expected some type of error "succeeded", indicating > they're not actually checking to see which error they got. Boo hiss. > > Presumably Noah's AIX menagerie would have failed in about the > same way if it had run. > > So we've got a *lot* of buildfarm work to do before we can think about > changing this. Ouch. I'll test more on Windows. > > Frankly, this episode makes me wonder whether changing the default is > even a good idea at this point. People who care about security have > already set up their processes to select a useful-to-them auth option, > while people who do not care are unlikely to be happy about having > security rammed down their throats, especially if it results in the > sort of push-ups we're looking at having to do in the buildfarm. > I think this has effectively destroyed the argument that only > trivial adjustments will be required. > > regards, tom lane > > [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=gaur&dt=2019-07-22%2017%3A08%3A27 > There's a strong tendency these days to be secure by default, so I understand the motivation. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services