From: Gianni Ceccarelli <dakkar@thenautilus.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Reset Postgresql users password
Date: Wed, 12 Jul 2023 20:34:46 +0100
Message-ID: <20230712203446.19535e83@thenautilus.net> (raw)
In-Reply-To: <CACoPQdbV6Da7J0zqZeg6jYG93ON0bS4iov21j_-RN6eiqTP4Sw@mail.gmail.com>
References: <CACoPQdbV6Da7J0zqZeg6jYG93ON0bS4iov21j_-RN6eiqTP4Sw@mail.gmail.com>
On 2023-07-12 Johnathan Tiamoh <johnathantiamoh@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: dakkar@thenautilus.net
Subject: Re: Reset Postgresql users password
In-Reply-To: <20230712203446.19535e83@thenautilus.net>
References: <CACoPQdbV6Da7J0zqZeg6jYG93ON0bS4iov21j_-RN6eiqTP4Sw@mail.gmail.com> <20230712203446.19535e83@thenautilus.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox