Re: postgres password change

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

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wappler, Robert 2010-02-25 15:22:21 Re: Restricting the CREATEROLE privilege
Previous Message Patryk Sidzina 2010-02-25 15:21:02 Re: Missing clog, PITR