public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kashif Zeeshan <[email protected]>
To: Afa Jamal <[email protected]>
Cc: [email protected]
Subject: Re: lost master password
Date: Mon, 10 Jun 2024 14:13:28 +0500
Message-ID: <CAAPsdheeXsimjVCANqn7haGkRnTBN_DeX4yOGDDGTiRn1Y0y0w@mail.gmail.com> (raw)
In-Reply-To: <CAJt4UHqb2z2-7cHhKqYK6q2D5nFN3x8ZHQw48=NX_aX_7HGGnA@mail.gmail.com>
References: <CAJt4UHodDHf5nB+p=Fhr=cSr9t-NJExkyLNGa4tX9GqMUTgOhA@mail.gmail.com>
	<CAJt4UHqb2z2-7cHhKqYK6q2D5nFN3x8ZHQw48=NX_aX_7HGGnA@mail.gmail.com>

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 <[email protected]> wrote:

>
>
> Sent from Gmail Mobile
>
>
> ---------- Forwarded message ---------
> From: Afa Jamal <[email protected]>
> Date: Fri, Jun 7, 2024 at 8:13 PM
> Subject: lost master password
> To: <[email protected]>
>
>
> Hello
> how you can help me with lost super password?
>
> thank you
>
>
> --
> *Afa J Zada*
>


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: lost master password
  In-Reply-To: <CAAPsdheeXsimjVCANqn7haGkRnTBN_DeX4yOGDDGTiRn1Y0y0w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox