Re: How to mask password when using ALTER USER syntax in psql. - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to mask password when using ALTER USER syntax in psql.
Date
Msg-id 6517.1252609408@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to mask password when using ALTER USER syntax in psql.  (Lewis Kapell <lkapell@setonhome.org>)
List pgsql-admin
Lewis Kapell <lkapell@setonhome.org> writes:
> ... psql contains a command \password that can be used
> to safely change a role's password.

FWIW, all that's doing is pre-encrypting the password and sending
ALTER ROLE WITH ENCRYPTED PASSWORD '...';

            regards, tom lane

pgsql-admin by date:

Previous
From: Lewis Kapell
Date:
Subject: Re: How to mask password when using ALTER USER syntax in psql.
Next
From: "Keller, Oliver"
Date:
Subject: integer import problem