Re: How to revoke a password

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Bailey, Larry" <lbailey(at)firstam(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: How to revoke a password
Date: 2005-07-09 00:17:43
Message-ID: 20050709001743.GA10063@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jul 08, 2005 at 05:09:48PM -0700, Joshua D. Drake wrote:
> Bailey, Larry wrote:
> >I created a user with a password. That newly created user now have
> >tables and indexes. I want to ALTER that user to exclude the password.
> >How is this accomplished without dropping and recreating the users?
>
> Never tried to go backwards before but:
>
> alter user foo with encrypted password '';

I think you use NULL as password to ALTER USER.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"Y eso te lo doy firmado con mis lágrimas" (Fiebre del Loco)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2005-07-09 00:56:06 Re: How to revoke a password
Previous Message Bailey, Larry 2005-07-09 00:16:27 Re: How to revoke a password