Re: Reset Postgresql users password - Mailing list pgsql-general

From Wen Yi
Subject Re: Reset Postgresql users password
Date
Msg-id tencent_B7D5555F5317C8E5B8773767691397BB3A07@qq.com
Whole thread Raw
In response to Re: Reset Postgresql users password  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
I think maybe you can check the pg_hba.conf, change the method to the 'trust'.
(Allow the connection unconditionally. This method allows anyone that can connect to the PostgreSQL database server to login as any PostgreSQL user they wish, without the need for a password or any other authentication. See Section 21.4 for details.)

And then login as the root user, after that do the things you wish.

https://www.postgresql.org/docs/current/auth-pg-hba-conf.html


------------------ Original ------------------
From: "Ron" <ronljohnsonjr@gmail.com>;
Date: Mon, Jul 17, 2023 10:28 AM
To: "pgsql-general"<pgsql-general@lists.postgresql.org>;
Subject: Re: Reset Postgresql users password

On 7/12/23 14:28, Johnathan Tiamoh wrote:
> Hello,
>
> I wish to find out if there is a way to reset all users in Postgresql
> password to the same password at once.

To the same value??

--
Born in Arizona, moved to Babylonia.

pgsql-general by date:

Previous
From: "Wen Yi"
Date:
Subject: [Beginner Question]What is query jumbling?
Next
From: Bogdan Siara
Date:
Subject: Postgrsql blocked for more than 120 s