pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: A. Van Hook <hook@kcp.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: (no subject)
Date: Thu, 12 Jun 2003 14:55:51 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <3EE863EB.6090908@kcp.com>

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




view thread (35+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, hook@kcp.com
  Subject: Re: (no subject)
  In-Reply-To: <Pine.LNX.4.44.0306121450220.17025-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox