Re: postgres password change

From: akp geek <akpgeek(at)gmail(dot)com>
To: paragasu <paragasu(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres password change
Date: 2010-02-25 15:47:47
Message-ID: 2024a9fb1002250747r5498c874ic603ec89bcf7fef3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't have the root privileges. But I have followed the instructions
http://www.depesz.com/index.php/2008/11/28/recovering-lost-postgresql-password/
it worked out well.

Thanks for the suggestion

Regards

On Thu, Feb 25, 2010 at 10:21 AM, paragasu <paragasu(at)gmail(dot)com> wrote:

> if you know the root password
>
> #su root
> #su postgres
> #psql
> #alter role <username> with password <password>
>
> it think that should do
>
>
>
> On Thu, Feb 25, 2010 at 11:15 PM, akp geek <akpgeek(at)gmail(dot)com> wrote:
>
>> Dear all -
>>
>> I forgot the password for the postgres user for the
>> database. Is there way I can reset the password to whatever I want. When I
>> do the psql -U postgres , it's prompting me the password. Can you please
>> help?
>>
>>
>> Regards
>>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dominik Sander 2010-02-25 15:52:32 Boolean partition constraint behaving strangely
Previous Message akp geek 2010-02-25 15:46:27 Re: postgres password change