From: | Wen Yi <wen-yi(at)qq(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Reset Postgresql users password |
Date: | 2023-07-17 03:27:01 |
Message-ID: | tencent_B7D5555F5317C8E5B8773767691397BB3A07@qq.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com>;
Date: Mon, Jul 17, 2023 10:28 AM
To: "pgsql-general"<pgsql-general(at)lists(dot)postgresql(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Bogdan Siara | 2023-07-17 05:40:19 | Postgrsql blocked for more than 120 s |
Previous Message | Wen Yi | 2023-07-17 03:23:30 | [Beginner Question]What is query jumbling? |