Removing a user's password

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Removing a user's password
Date: 2003-05-26 17:33:37
Message-ID: 200305261733.h4QHXbG07842@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

What capabilities do we have for removing a user's password? The only
way I can see to do it is to insert a NULL into pg_shadow, but clearly
that is pretty ugly. I don't see any mention in the ALTER USER manual
page, and assigning a password of NULL using ALTER user fails.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-05-26 17:44:04 Re: [HACKERS] ECPG thread-safety
Previous Message Rod Taylor 2003-05-26 17:32:03 Re: [HACKERS] ECPG thread-safety

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-05-26 17:44:04 Re: [HACKERS] ECPG thread-safety
Previous Message Rod Taylor 2003-05-26 17:32:03 Re: [HACKERS] ECPG thread-safety