Re: Timebased user access

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Ralph Graulich <maillist(at)shauny(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Timebased user access
Date: 2003-05-06 11:41:51
Message-ID: 20030506114151.GA2076@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, May 06, 2003 at 11:42:36AM +0200, Ralph Graulich wrote:

> is there any solution for granting time based access to a particular
> database or even a group of relations?
>
> For example:
>
> user "salstaf02" can connect weekdays from 9.00 am to 6.00 pm
> user "salstaf03" can connect weekdays from 2.00 pm to 6.00 pm
> user "salstaf09" can connect saturdays from 8.00 am to 2.00 pm

Yes, you should use PAM authentication and configure that accordingly.
There are a couple of pointers to PAM manuals in our documentation.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"In fact, the basic problem with Perl 5's subroutines is that they're not
crufty enough, so the cruft leaks out into user-defined code instead, by
the Conservation of Cruft Principle." (Larry Wall, Apocalypse 6)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2003-05-06 11:47:57 Re: What is the best practise for "autonumbering"..?
Previous Message Ron Johnson 2003-05-06 11:30:02 Re: Many little databases or one big one?