X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 347F030E815 for ; Thu, 12 Jun 2003 11:44:01 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 49434-08 for ; Thu, 12 Jun 2003 08:43:50 -0300 (ADT) Received: from matrix.gatewaynet.com (unknown [217.19.69.50]) by svr1.postgresql.org (Postfix) with ESMTP id 73A2330E7D3 for ; Thu, 12 Jun 2003 08:43:49 -0300 (ADT) Received: from matrix.gatewaynet.com (localhost [127.0.0.1]) by matrix.gatewaynet.com (8.12.5/8.12.5) with ESMTP id h5CGtpEP017882; Thu, 12 Jun 2003 14:55:51 -0200 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.5/8.12.5/Submit) with ESMTP id h5CGtp6l017878; Thu, 12 Jun 2003 14:55:51 -0200 Date: Thu, 12 Jun 2003 14:55:51 -0200 (GMT+2) From: Achilleus Mantzios To: "A. Van Hook" Cc: pgsql-sql@postgresql.org Subject: Re: (no subject) In-Reply-To: <3EE863EB.6090908@kcp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200306/99 X-Sequence-Number: 13857 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