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

From Alvaro Herrera
Subject Re: How to mask password when using ALTER USER syntax in psql.
Date
Msg-id 20090910222848.GF31165@alvh.no-ip.org
Whole thread Raw
In response to How to mask password when using ALTER USER syntax in psql.  (Kenneth Banyas <kenneth.banyas-1@nasa.gov>)
List pgsql-admin
Kenneth Banyas wrote:
> Greetings,
>
> I am using versions 7.4 and 8.3.7.
> I have not discovered a way to obfuscate the password when changing it
> in psql with ALTER USER syntax.
> The password displays in clear text at the command line AND in the log file.
> Why is this?

Perhaps you could try \password in psql.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-admin by date:

Previous
From: Ken Banyas
Date:
Subject: How to mask password when changing it using ALTER USER command in psql.
Next
From: Kevin Kempter
Date:
Subject: sql to show tablespace for indexes