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 1rbs3e-00HLUE-TL for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Feb 2024 01:02:58 +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 1rbs3d-00BohR-5a for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Feb 2024 01:02:57 +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 1rbs3c-00BohA-PX for pgsql-bugs@lists.postgresql.org; Mon, 19 Feb 2024 01:02:56 +0000 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rbs3Z-007RYD-NW for pgsql-bugs@lists.postgresql.org; Mon, 19 Feb 2024 01:02:55 +0000 Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-6818a9fe3d4so24456776d6.0 for ; Sun, 18 Feb 2024 17:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1708304572; x=1708909372; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Vsg5W1sErqbB+gNDWea4uP7M5jqsg65Qu59Ah6xPpxI=; b=18LgobzOoKntPwjSXw++T52SNOCiBm1ZYdwHBTK4x0Ye3gU4z/PF07/ICVdYL1u3eI Pf+kRVyfmPtVEr+tJmu5/7LNpI+8T7qlpleFffYPGq4XqCIh5nKWwNehTPwPjr5al1k5 zmV+LgOWwZCrIF0mQSZAiYQrLW1djqab4h/5abyZlM5b2zsmMfPyT6IRYKZ3HC8GFEi6 xOM5P0u7v2zseRz4FjZMeZAo5IYeZ9pFVvAgiPIKKHm+1OETId53iCuOE3EFDg5ZywO4 SxmSYgQj/m+n+0wxdbIanIwvAQSiXLvK3TrExvTC2ZMFDsAScwbFO5JSdxM0aIdLTpYD /lXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708304572; x=1708909372; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vsg5W1sErqbB+gNDWea4uP7M5jqsg65Qu59Ah6xPpxI=; b=PQKmgWGmhRlm9BzUG/3nvcRTM6XoQcoGoU/Q6svbzkTy2SOYe4PEBDItdLEPRgComt 0ZY/IMtfoZ+Ajp+7UK5vFAuvu0VCE14VbZVsYZk8cSJU2uSfyun15CqOTTn+fzm5Vvyu jLq7nnv6seCaBlrBgAOUmp9n03vzwFSs3dcaX2t2NrvUj0Az+2L+5+0kYK9ud1O/ztWJ FLhRUsYgcEz7Vkt3ezkvq27d7/vUfxEclVTbj+GP9YT1JE+sXJULMoBwS+Ogyt2m5qPS 9CFbg6FqWLoC1+TMCPSGWxGsfmzfGyra31YCgfsahN2AhZxI1ffCAbr753SPO2Vdxj6R DPiQ== X-Gm-Message-State: AOJu0YyLfStfpyNmZo6eRZjRApCE3WAT6stwH/TLwwtmlY0HzaWlChZQ /gvMwj+JupxCga50QF8p+6e7LOJ7Epy1iwKghpde74dokWu3LJST0VUsZ21ugnU= X-Google-Smtp-Source: AGHT+IECSUPdp2ppQklJaJVOAaFRkUl0HyjxCvd+D80GKbGkGJMnGS2Sl302q1xukIH0QTCD1hTTbg== X-Received: by 2002:a05:6214:2b06:b0:68f:3263:d94d with SMTP id jx6-20020a0562142b0600b0068f3263d94dmr2166527qvb.26.1708304571998; Sun, 18 Feb 2024 17:02:51 -0800 (PST) Received: from ?IPV6:2605:a601:91f3:1900::2bb? ([2605:a601:91f3:1900::2bb]) by smtp.googlemail.com with ESMTPSA id pc16-20020a056214489000b0068f2a73e30bsm2634494qvb.10.2024.02.18.17.02.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 17:02:51 -0800 (PST) Message-ID: <09e60516-24cf-7d5a-a0b8-d64e1581994b@dunslane.net> Date: Sun, 18 Feb 2024 20:02:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: BUG #18350: Modifying predefined roles' unlimited connections for VA STIG cybersecurity checklist Content-Language: en-US To: Tom Lane , martin.nguyen@oracle.com Cc: pgsql-bugs@lists.postgresql.org References: <18350-ed2d82ff23d8a7e3@postgresql.org> <3525669.1708119351@sss.pgh.pa.us> From: Andrew Dunstan In-Reply-To: <3525669.1708119351@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-02-16 Fr 16:35, Tom Lane wrote: > 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. > > Also note that this is not by any stretch of the imagination a bug. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com