Re: Require details that can we set characters length of a password to a User account in PostgreSQL Database.

From: "Sonai muthu raja M" <Sonaimuthu(dot)Raja(at)sifycorp(dot)Com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Cc: "Sivaprahasam Dharman" <Sivaprahasam(dot)Dharman(at)sifycorp(dot)Com>
Subject: Re: Require details that can we set characters length of a password to a User account in PostgreSQL Database.
Date: 2022-03-01 12:46:25
Message-ID: KL1PR03MB557293FE9A76A1968704F32483029@KL1PR03MB5572.apcprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Laurenz,

Thank you so much for the information.

Warm regards,

M Sonai Muthu Raja
Managed Delivery Services - DBA Support
M: +919003132734
II Floor, TIDEL Park, 4 Rajiv Gandhi Salai,
Taramani, Chennai – 600 113

[cid:a257a70b-14af-48c0-b44f-ded59799455e]

www.sifytechnologies.com<http://www.sifytechnologies.com>

________________________________
From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Sent: Tuesday, March 1, 2022 5:19 PM
To: Sonai muthu raja M <Sonaimuthu(dot)Raja(at)sifycorp(dot)Com>; pgsql-general(at)lists(dot)postgresql(dot)org <pgsql-general(at)lists(dot)postgresql(dot)org>
Cc: Sivaprahasam Dharman <Sivaprahasam(dot)Dharman(at)sifycorp(dot)Com>
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

DISCLAIMER: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. Please note that intercepting or any unauthorized use of this message or any attachment can be treated as infringement of person’s right of privacy under the Human Rights Act 1993 and also is a Criminal Offence under the Information and Technology Act, 2008.

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Durumdara 2022-03-02 09:14:05 How to log to client (port native code to stored procedure)?
Previous Message Laurenz Albe 2022-03-01 11:49:39 Re: Require details that can we set characters length of a password to a User account in PostgreSQL Database.