"Egyd Csaba" <csegyud(at)vnet(dot)hu> writes
>
> I'm wonder how I can disable a user (without droping of course). Is there
a
> way to set an expiration date to prevent logins after that date?
>
> I know the VALID UNTIL clause of CREATE USER command, but it is about the
> password only.
> I think something similar but regarding the whole user account.
>
It is not about password only. Once current date is beyond the valid date
you set, the user can never get authorized ok anymore.
Regards,
Qingqing