Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3B812633681 for ; Tue, 17 Nov 2009 17:38:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21238-06 for ; Tue, 17 Nov 2009 21:37:53 +0000 (UTC) X-Greylist: delayed 00:16:40.277021 by SQLgrey-1.7.6 Received: from smtp.comsquared.com (smtp.comsquared.com [209.155.237.140]) by mail.postgresql.org (Postfix) with ESMTP id 295E9633256 for ; Tue, 17 Nov 2009 17:37:53 -0400 (AST) Received: from mdpserv.comsquared.com (mdpserv [10.82.40.1]) by smtp.comsquared.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id nAHLKs9N017464 for ; Tue, 17 Nov 2009 16:21:09 -0500 (EST) Received: from erouse052008 (erouse052008.ntc2s.comsquared.com [10.82.60.61]) by mdpserv.comsquared.com (8.13.6+Sun/8.13.6) with ESMTP id nAHLKsx5029600 for ; Tue, 17 Nov 2009 16:20:54 -0500 (EST) From: "Edward W. Rouse" To: Subject: lost password Date: Tue, 17 Nov 2009 16:20:54 -0500 Message-ID: <00b501ca67cb$d8efd9e0$8acf8da0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B6_01CA67A1.F019D1E0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acpny9jAbfOmwqNaSjWmw072HC8O4Q== Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.739 tagged_above=-10 required=5 tests=BAYES_20=-0.74, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200911/41 X-Sequence-Number: 33392 This is a multi-part message in MIME format. ------=_NextPart_000_00B6_01CA67A1.F019D1E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have a database that has a "process" user. I need to move the database to an additional server. When I restore it gave me a "user not found" error. So I am trying to recreate this user, but no one knows what the password is supposed to be. The processes connecting to it have encrypted versions of the password. And what I can find in the database uses md5. Is there some way to find out or copy over the users password? Trying to find every process that uses this login will be very time consuming and we are guaranteed to miss some and generate a lot of frustration and confusion as processes that always worked cease. Not to mention that some stuff may be failing for a while before someone catches it. I was thinking of just taking the md5 from pg_authid:rolpassword and using it to update the new server. Will this work? Or is there another way to retrieve a forgotten password? Edward W. Rouse Comsquared System, Inc. 770-734-5301 ------=_NextPart_000_00B6_01CA67A1.F019D1E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have a database that has a “process” = user. I need to move the database to an additional server. When I restore it = gave me a “user not found” error. So I am trying to recreate this user, but no one = knows what the password is supposed to be. The processes connecting to it have encrypted versions of the password. And what I can find in the database = uses md5. Is there some way to find out or copy over the users password? = Trying to find every process that uses this login will be very time consuming and = we are guaranteed to miss some and generate a lot of frustration and confusion as = processes that always worked cease. Not to mention that some stuff may be failing for a = while before someone catches it.

 

I was thinking of just taking the md5 from = pg_authid:rolpassword and using it to update the new server. Will this work? Or is there = another way to retrieve a forgotten password?

 

Edward W. Rouse

Comsquared System, Inc.

770-734-5301

 

------=_NextPart_000_00B6_01CA67A1.F019D1E0--