Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rb5sC-00D8Xm-Eq for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Feb 2024 21:35:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rb5sA-004s3h-TL for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Feb 2024 21:35:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rb5sA-004s3Z-Kq for pgsql-bugs@lists.postgresql.org; Fri, 16 Feb 2024 21:35:54 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rb5s8-0076z6-8y for pgsql-bugs@lists.postgresql.org; Fri, 16 Feb 2024 21:35:53 +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 41GLZp8J3525670; Fri, 16 Feb 2024 16:35:51 -0500 From: Tom Lane To: martin.nguyen@oracle.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18350: Modifying predefined roles' unlimited connections for VA STIG cybersecurity checklist In-reply-to: <18350-ed2d82ff23d8a7e3@postgresql.org> References: <18350-ed2d82ff23d8a7e3@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 16 Feb 2024 20:50:41 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3525668.1708119351.1@sss.pgh.pa.us> Date: Fri, 16 Feb 2024 16:35:51 -0500 Message-ID: <3525669.1708119351@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > We have identified an issue where predefined roles are not modifiable, > however a Dept. of VA security checklist requires that no roles have > unlimited connections. The Predefined roles have unlimited connections, is > there a way to modify these? Solution 1: explain to your compliance department that it's pointless to worry about the connection limit for a role that can't log in. Solution 2: do a manual UPDATE on pg_authid. This would have to be done over after any major-version upgrade, though. regards, tom lane