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 1lf1BC-0001UA-AT for pgsql-admin@arkaria.postgresql.org; Fri, 07 May 2021 14:10:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lf1BB-0003J2-9P for pgsql-admin@arkaria.postgresql.org; Fri, 07 May 2021 14:10:09 +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 1lf1BB-0003It-0d for pgsql-admin@lists.postgresql.org; Fri, 07 May 2021 14:10:09 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lf1B8-00066P-KK for pgsql-admin@lists.postgresql.org; Fri, 07 May 2021 14:10:08 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lf1B7-0003zZ-Cz; Fri, 07 May 2021 10:10:05 -0400 Date: Fri, 7 May 2021 10:10:05 -0400 From: Bruce Momjian To: Ron Cc: pgsql-admin@lists.postgresql.org Subject: Re: Query on User account password change details Message-ID: <20210507141005.GB10431@momjian.us> References: <90B6B3A1-BB95-4D69-99EF-D86C0A859431@jakobs.com> <4e87a433-531f-d108-4ef6-0c54ba44f587@gmail.com> <1d0196b7-01e2-e979-e023-d684331db8ea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d0196b7-01e2-e979-e023-d684331db8ea@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, May 7, 2021 at 08:55:15AM -0500, Ron wrote: > On 5/7/21 7:30 AM, Scott Ribe wrote: > > > On May 6, 2021, at 11:40 PM, Ron wrote: > > > > > > Comments like this are indicative of someone who's never been through an external audit. > > While maybe true, the point stands that even the original source of the requirement has admitted it's a bad idea, and standards bodies are dropping it. So, unlike many other things we might consider pointless, with this one, you have the kind of defense that might work in an audit. > > The problem is that Postgresql allows Really Short Passwords without > uttering a peep, and that's not defensible to an auditor. > > psql (12.5 (Ubuntu 12.5-1.pgdg18.04+1)) > Type "help" for help. > > postgres=# create role foo password 'a'; > CREATE ROLE > postgres=# Have you considered passwordcheck? https://www.postgresql.org/docs/13/passwordcheck.html -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.