Re: Reset Postgresql users password

From: Gianni Ceccarelli <dakkar(at)thenautilus(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Reset Postgresql users password
Date: 2023-07-12 19:34:46
Message-ID: 20230712203446.19535e83@thenautilus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2023-07-12 Johnathan Tiamoh <johnathantiamoh(at)gmail(dot)com> wrote:
> I wish to find out if there is a way to reset all users in Postgresql
> password to the same password at once.

I guess you could update the `pg_catalog.pg_authid` table, see
https://www.postgresql.org/docs/15/catalog-pg-authid.html

--
Dakkar - <Mobilis in mobile>
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2 40EA 9883 7519 3F88
key id = 0x75193F88

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mateusz Henicz 2023-07-12 19:42:02 Re: Reset Postgresql users password
Previous Message Johnathan Tiamoh 2023-07-12 19:28:33 Reset Postgresql users password