Re: Log of CREATE USER statement - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Log of CREATE USER statement
Date
Msg-id e51f66da0512120540u4a19a674k70ff9b4432a30151@mail.gmail.com
Whole thread Raw
In response to Re: Log of CREATE USER statement  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Log of CREATE USER statement
List pgsql-hackers
On 12/9/05, Peter Eisentraut <peter_e@gmx.net> wrote:
> Tom Lane wrote:
> > As I said already, if the user wishes the password to be secure, he
> > needs to encrypt it on the client side.
>
> Maybe we should provide a backslash command in psql for secure password
> entry, say, \password [username].  This would then ask for the password
> through a somewhat secure, unlogged channel, encrypt it, and send an
> ALTER ROLE command to the server.

Letting createuser.c hash the password would be the biggest win.

--
marko

pgsql-hackers by date:

Previous
From: "Ricardo Vaz"
Date:
Subject: Re: Log of CREATE USER statement
Next
From: Andrew Dunstan
Date:
Subject: default resource limits