Re: lost master password

From: Kashif Zeeshan <kashi(dot)zeeshan(at)gmail(dot)com>
To: Afa Jamal <afa(dot)jam(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: lost master password
Date: 2024-06-10 09:13:28
Message-ID: CAAPsdheeXsimjVCANqn7haGkRnTBN_DeX4yOGDDGTiRn1Y0y0w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

Do following

Stop pg service
Open pg_hba.conf
Put trust for authentication e.g. "local all all
trust"

Start the service
Log in using psql e.g psql -U postgres
Change the password e.g ALTER USER postgres WITH PASSWORD 'new_password';

Regards
Kashif Zeeshan
Bitnine Global

On Mon, Jun 10, 2024 at 2:01 PM Afa Jamal <afa(dot)jam(at)gmail(dot)com> wrote:

>
>
> Sent from Gmail Mobile
>
>
> ---------- Forwarded message ---------
> From: Afa Jamal <afa(dot)jam(at)gmail(dot)com>
> Date: Fri, Jun 7, 2024 at 8:13 PM
> Subject: lost master password
> To: <security(at)postgresql(dot)org>
>
>
> Hello
> how you can help me with lost super password?
>
> thank you
>
>
> --
> *Afa J Zada*
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2024-06-10 09:16:29 Re: Fwd: lost master password
Previous Message Afa Jamal 2024-06-10 09:06:50 Re: Fwd: lost master password