From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | "A(dot) Van Hook" <hook(at)kcp(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: (no subject) |
Date: | 2003-06-12 16:55:51 |
Message-ID: | Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, 12 Jun 2003, A. Van Hook wrote:
> When updating from 7.2.3 to 7.3.3 we have lost the ability to see the
> passwords in pg_shadow. Is there a way to decrypt the passwords?
The default case (with md5 method in pg_hba.conf) is encrypted passwds.
But you still can do
ALTER USER foo UNENCRYPTED password 'bar';
dynacom=# SELECT * from pg_shadow where usename='foo';
usename | usesysid | usecreatedb | usesuper | usecatupd | passwd |
valuntil | useconfig
---------+----------+-------------+----------+-----------+--------+----------+-----------
foo | 100 | f | f | f | bar |
|
(1 row)
dynacom=#
>
> thanks
>
>
--
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-210-8981112
fax: +30-210-8981877
email: achill at matrix dot gatewaynet dot com
mantzios at softlab dot ece dot ntua dot gr
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2003-06-12 17:10:45 | Re: help |
Previous Message | Robert Treat | 2003-06-12 14:44:30 | Re: control structures in plpgsql |