Hi Laurenz,
Thank you so much for the information.
M Sonai Muthu Raja
Managed Delivery Services - DBA Support
M: +919003132734
II Floor, TIDEL Park, 4 Rajiv Gandhi Salai,
Taramani, Chennai – 600 113From: Laurenz Albe <laurenz.albe@xxxxxxxxxxx>
Sent: Tuesday, March 1, 2022 5:19 PM To: Sonai muthu raja M <Sonaimuthu.Raja@xxxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxxxxxxxx <pgsql-general@xxxxxxxxxxxxxxxxxxxx> Cc: Sivaprahasam Dharman <Sivaprahasam.Dharman@xxxxxxxxxxxx> Subject: Re: Require details that can we set characters length of a password to a User account in PostgreSQL Database. WARNING: This email originated from outside of Sify domain. DO NOT click the links or open the attachments unless you recognize the sender and know the content is safe.
On Tue, 2022-03-01 at 08:18 +0000, Sonai muthu raja M wrote: > Kindly help us to know that can we set characters length of a password to a User account in PostgreSQL Database. > > Please do the needful since the information require for auditing purpose. There is no way to do that. You can use the "passwordcheck" extension, but that will only work for clear-text passwords. Your only real option is *not* to use passwords in the database, but to authenticate with an external service like Kerberos or LDAP. Then you can enforce the password rules there. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation. |