Re: While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option - Mailing list pgsql-admin

From Julien Rouhaud
Subject Re: While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option
Date
Msg-id ioj5zhbgfx5u3mjdnzlsmhoffqma2ch4mqctldeckxpdg2kukx@bsapfasejdth
Whole thread Raw
In response to While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option  (Naveed Iftikhar <naveed27c@yahoo.com>)
Responses Re: While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option
List pgsql-admin
Hi,

On Sun, May 12, 2024 at 05:44:04AM GMT, Naveed Iftikhar wrote:
> Hi Experts,
> I just trying to create a user in postgres and getting following errors
> postgres=#create user svc_dba;ERROR: require a VALID UNTIL option
> postgres=#create user svc_dba VALID UNTIL 'Jan 31 2030';ERROR: require a VALID UNTIL option with a date beyond 120
days
> How can I just get rid of this VALID UNTIL option b'coz in past I have created user with just 'create user xxxx; and
itworked.  Please suggest
 

You (or your DBA) apparently configured the credcheck extension which prevents
you from creating a role without those requirements, so you have to either
comply with the requirements or remote the extension.



pgsql-admin by date:

Previous
From: Naveed Iftikhar
Date:
Subject: While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option
Next
From: Naveed Iftikhar
Date:
Subject: Re: While creating a user in PostgreSQL 15 getting ERROR: require a VALID UNTIL option