Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2003-05-26 17:44:04
Subject: Re: [HACKERS] ECPG thread-safety
Previous:From: Rod TaylorDate: 2003-05-26 17:32:03
Subject: Re: [HACKERS] ECPG thread-safety

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-05-26 17:44:04
Subject: Re: [HACKERS] ECPG thread-safety
Previous:From: Rod TaylorDate: 2003-05-26 17:32:03
Subject: Re: [HACKERS] ECPG thread-safety

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group