Skip site navigation (1) Skip section navigation (2)

Re: Password

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Anze Cevka <anzecevka(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Password
Date: 2009-08-26 20:37:38
Message-ID: 162867790908261337y6c065785h2d57c89404d8be2f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
hello

2009/8/26 Anze Cevka <anzecevka(at)hotmail(dot)com>:
> Hello!
>
> I am wondering where can I found out what is my postgre SQL password,
> because I forgot it.
>

you have to add line to pg_hba.conf file for postgresql user.

from local change authentication method to trust (attention - from
this moment, your database is unsecured!!!). Reload, then you can
login to database as postgres - password will be ignored.

execute SQL: ALTER USER postgres PASSWORD 'newpaswd';

change authentication back for local (ident or md5)!!!! reload

regards
Pavel Stehule






> Thanks for your help.
>
> Best regards
>
> Anze
>
> ________________________________
> Share your memories online with anyone you want anyone you want.

In response to

  • Password at 2009-08-26 20:25:25 from Anze Cevka

pgsql-bugs by date

Next:From: Greg StarkDate: 2009-08-26 20:46:12
Subject: Re: BUG #5012: mailing list VERP addresses not sender-verifiable
Previous:From: Magnus HaganderDate: 2009-08-26 20:25:49
Subject: Re: BUG #5008: Server Startup Problem - When server is configured for SSL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group