Re: Reset Postgresql users password

Поиск
Список
Период
Сортировка
От Wen Yi
Тема Re: Reset Postgresql users password
Дата
Msg-id tencent_B7D5555F5317C8E5B8773767691397BB3A07@qq.com
обсуждение исходный текст
Ответ на Re: Reset Postgresql users password  (Ron <ronljohnsonjr@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Wen Yi"
Дата:
Сообщение: [Beginner Question]What is query jumbling?
Следующее
От: Bogdan Siara
Дата:
Сообщение: Postgrsql blocked for more than 120 s