Re: How to mask password when using ALTER USER syntax in psql.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lewis Kapell <lkapell(at)setonhome(dot)org>
Cc: kenneth(dot)banyas-1(at)nasa(dot)gov, pgsql-admin(at)postgresql(dot)org
Subject: Re: How to mask password when using ALTER USER syntax in psql.
Date: 2009-09-10 19:03:28
Message-ID: 6517.1252609408@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lewis Kapell <lkapell(at)setonhome(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2009-09-10 22:28:48 Re: How to mask password when using ALTER USER syntax in psql.
Previous Message Lewis Kapell 2009-09-10 18:34:30 Re: How to mask password when using ALTER USER syntax in psql.