password management - Mailing list pgsql-general

From akp geek
Subject password management
Date
Msg-id n2t2024a9fb1005061131xd90b715el31a5c39e206e267f@mail.gmail.com
Whole thread Raw
Responses Re: password management  (Craig Ringer <craig@postnewspapers.com.au>)
Re: password management  ("Christophe Dore" <c.dore@castsoftware.com>)
List pgsql-general
Dear all -

               I am writing function to handle the passwords. Currently the crypt is being used to store the password in the database. what I need to do is, when the user wants to change the password, I need to check if that password is not being used before up to 5 times, If not then then records should be inserted to the database.

              The problem where i am running into, when I capture the password that user entered, I can't compare to the one in database , because each time the function crypt gives different one. Is there any way that I can achieve this?

              Appreciate your help

Regards

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: I need to take metadata from a shell script.
Next
From: Nikola
Date:
Subject: Re: pg_class has 3615 rows and 1010Mb in table size