Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGb60-00EuLr-Ce for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 09:13:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sGb5y-009rp3-D0 for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 09:13:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGb5y-009rot-1o for pgsql-general@lists.postgresql.org; Mon, 10 Jun 2024 09:13:42 +0000 Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sGb5w-000bdG-CV for pgsql-general@lists.postgresql.org; Mon, 10 Jun 2024 09:13:41 +0000 Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-80b8d45e6b7so477280241.3 for ; Mon, 10 Jun 2024 02:13:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718010819; x=1718615619; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vLjzoP8YVDKXVJ/qPSSZfNhlTi2Rsfnp2LODXdGXKrc=; b=luZEOU1RgDevwGqfNkVAzIVH3vbVUjPUgAfbImLfHDFVU1DEOR1zrHa/Cz5keZgTzA PK0vczrdTDJtdS17E1xX03JDy+SyJXyYz1pdbKEtsALrSIIZuHY/NEsghcJHUh0NFNEq ymc8djo515RKJcCKQJdSeNj/HufH/Qjdq0lUMkpaoKoW2h7ItJOtZurT5nf5WTE8fVAi f+ZoydSfjQpK6QWzmcZEfoT/e0o+M4b3avZy4MZDY8NGBziRN3B5NF9COCeikFx+OufS FsnDt5LVEF2rR7Kh0YKyzpgKH+67IYBz/KCDOwUnGvyXLsG7qAolQ0coluIKBSstzyi3 Wyjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718010819; x=1718615619; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vLjzoP8YVDKXVJ/qPSSZfNhlTi2Rsfnp2LODXdGXKrc=; b=UHDWbzVB1kpUS072Zu3u0rFpJ8kKEH02nw59rdA1ZJR5NWD4KwHVB1V1Uhatja8gEA TRSPwxxmxnkgi55lq4PC75euDv5Lu0DAvQjo7wR4nk/Jqp+/JU+dobU+z0vp3CWtN66e X9nIMUxRhMNr4P01v8Q8fp5t8D2aQxF+Rqm60DY3TSM48YlSTtOp2TP4ZXrcBEqxxlUU oKyNDZxKTLwHS99rQZij9sZIUXXpUbwiErEW0sRuHHn9J48whfon/GEhlBeI1IJMRy7N 93M5iFMK7oO3iOV8fh3hQ9V9jk22Lz5nebgidu96YAogIyCyddmXg2kb3lOWq6NfsN3z T2Mw== X-Gm-Message-State: AOJu0YwEmmsVta8mZt8fk6HzTMSBe8o+v2zJaQDaPwgRv2F1Heb3aWyI oWMdMpnxU68xffRFJ0TUP3H2vkWN9y0UDwbvAFXYjjC+k9oayl/hz8oBvCQjOCTZ5EgeGhi+Nkq QmIfVzSIem4692o9DSvpuT3xPGz2Vp3Ka24g= X-Google-Smtp-Source: AGHT+IH1bpGgqc7A5b2aB61F15uu6ZLw9x4MOaR+aQRuA8sesaelmu7z4SuQED4jVOhIrOjAE/2zbQFKhJ1N6t+mbhs= X-Received: by 2002:a05:6102:3ca6:b0:48c:33b7:b1b0 with SMTP id ada2fe7eead31-48c33b7b456mr8424937137.6.1718010819383; Mon, 10 Jun 2024 02:13:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kashif Zeeshan Date: Mon, 10 Jun 2024 14:13:28 +0500 Message-ID: Subject: Re: lost master password To: Afa Jamal Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000009c1ab7061a85906d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009c1ab7061a85906d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Afa Jamal wrote= : > > > Sent from Gmail Mobile > > > ---------- Forwarded message --------- > From: Afa Jamal > Date: Fri, Jun 7, 2024 at 8:13=E2=80=AFPM > Subject: lost master password > To: > > > Hello > how you can help me with lost super password? > > thank you > > > -- > *Afa J Zada* > --0000000000009c1ab7061a85906d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

Do following

Stop pg service
Open pg_hba.conf
Put trust for authen= tication=C2=A0e.g. "local =C2=A0 all =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 all =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 trust&qu= ot;

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


Rega= rds
Kashif Zeeshan
Bitnine Global

On Mon, Jun 10, = 2024 at 2:01=E2=80=AFPM Afa Jamal <= afa.jam@gmail.com> wrote:


Sent from Gmail Mobile


---------- Forwarded message ---------
From: Afa Jamal <afa.jam@gmail.com&= gt;
Date: Fri, Jun 7, 2024 at 8:13=E2=80=AFPM
Subject: lost ma= ster password
To: <security@postgresql.org>


Hello
how you can help=C2=A0me with lost super password?
<= br>
thank you=C2=A0


--
<= div dir=3D"ltr" class=3D"gmail_signature">
Afa J Za= da
--0000000000009c1ab7061a85906d--