Re: de-encrypting a password - Mailing list pgsql-novice

From Andreas Wenk
Subject Re: de-encrypting a password
Date
Msg-id 498D62CC.5030509@netzmeister-st-pauli.de
Whole thread Raw
In response to de-encrypting a password  (richard terry <rterry@pacific.net.au>)
List pgsql-novice

richard terry schrieb:
> I wondered if it was possible to see what the original password put in was if
> one does a select * from pg_shadow where user = 'the_user'; and you end up
> with passwd as a great big long string.
>
> regards
>
> Ricahrd
>
Hi,

all passwords are stored as MD5 strings in PostgreSQL. MD5 is a one way
encryption. So as long as you do not use a paramater (-N) while creating
a new user, the password will be encrypted and you cannot see it in
plain text.

Cheers

Andy
--

St.Pauli - Hamburg - Germany

Andreas Wenk


pgsql-novice by date:

Previous
From: richard terry
Date:
Subject: de-encrypting a password
Next
From: kulmacet101@kulmacet.com
Date:
Subject: Creating a test database and table