Re: How to know the password for the user 'postgres'

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: Shashank Sahni <shredder12(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to know the password for the user 'postgres'
Date: 2008-10-28 05:22:49
Message-ID: 4906A1A9.2090602@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shashank Sahni wrote:
>
> when i posted the question on dspace mailing list..one of the guy
> replied me with this solution..
> createuser -h localhost -U postgres -d -A -P dspace
> but he said that to execute the above command i must know the password
> for the user postgres..
Edit the pg_hba.conf file and add a entry for the PC you are doing your
admin from and set it to Trust.
When set to trust you won't need a password, then use the admin tool of
your choice to change the postgres password to whatever
you want. Afterwards remember to set it back to MD5 or whatever it was
prior to you making the change.

Later,

Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shashank Sahni 2008-10-28 05:34:42 Re: How to know the password for the user 'postgres'
Previous Message Scott Marlowe 2008-10-28 04:59:08 Re: How to know the password for the user 'postgres'