Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEZZw-0008Qv-IT for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 17:03:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEZZv-0005MC-0V for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Jul 2022 17:03:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEZZu-0005JN-NJ for pgsql-hackers@lists.postgresql.org; Thu, 21 Jul 2022 17:03:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEZZo-0005I6-Fv for pgsql-hackers@postgresql.org; Thu, 21 Jul 2022 17:03:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26LH2opF075373; Thu, 21 Jul 2022 13:02:50 -0400 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: let's disallow ALTER ROLE bootstrap_superuser NOSUPERUSER In-reply-to: References: <39752.1658420887@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 21 Jul 2022 12:47:30 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <75371.1658422970.1@sss.pgh.pa.us> Date: Thu, 21 Jul 2022 13:02:50 -0400 Message-ID: <75372.1658422970@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > ... if > we want to regard no-superusers as a supported configuration, we > probably need to tighten that up. I think it's kind of hopeless, Yeah, I agree. At least, I'm uninterested in spending any of my own time trying to make that usefully-more-secure than it is today. If somebody else is interested enough to do the legwork, we can look at what they come up with. regards, tom lane