Re: Removing a user's password

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Removing a user's password
Date: 2003-05-26 18:31:54
Message-ID: 200305261831.h4QIVsj10488@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > What capabilities do we have for removing a user's password?
>
> If you set VALID UNTIL to 'now' (or sometime in the past), you've
> effectively prevented him from logging in with the password ---
> more effectively than setting the password to NULL, since if the
> user is still logged in he can just undo that. I don't think we
> really need to do anything more here.

Well, can they undo the VALID UNTIL too? I think at a minimum we need
to document the proper procedure for removing a password. I see NULL as
a more logical way of removing the password rather than playing with
VALID UNTIL.

--
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-05-26 18:32:33 Re: [HACKERS] ECPG thread-safety
Previous Message Bruce Momjian 2003-05-26 18:28:41 Re: [HACKERS] ECPG thread-safety

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-05-26 18:32:33 Re: [HACKERS] ECPG thread-safety
Previous Message Bruce Momjian 2003-05-26 18:28:41 Re: [HACKERS] ECPG thread-safety