Re: radiusd and time limit for one day

2001-08-27 Thread Dan Perik

Thank you all very much for your answer(s).  I think that's what I'm looking for.  Now 
to find time to implement it...

--
- Dan Perik
Computer Services Department
Lapilo Center
New Tribes Mission - PNG




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: radiusd and time limit for one day

2001-08-23 Thread Kostas Kalevras

On Fri, 24 Aug 2001, Dan Perik wrote:

> 
> I think I know what he means, because I'd like to do the same thing here.  That
> is, limit someone's dialin time to 1 hour (or whatever) per day.  So today he can
> log in for one hour.  Once that hour's up, he has to wait until tomorrow. He'll
> get another hour tomorrow. And so on.  Is that possible, and if so how?
> 
> - Dan Perik

Take a look at rlm_counter.

--
kkalev


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: radiusd and time limit for one day

2001-08-23 Thread Dan Perik


I think I know what he means, because I'd like to do the same thing here.  That
is, limit someone's dialin time to 1 hour (or whatever) per day.  So today he can
log in for one hour.  Once that hour's up, he has to wait until tomorrow. He'll
get another hour tomorrow. And so on.  Is that possible, and if so how?

- Dan Perik

Paul Foxton wrote:

> Hi,
>
> Not 100% surewhat you want to do, but if you mean you want to set the time a
> user can log in: yes it is possible, with Login-Time.
>
> You need to specify this in the first line of your entry for the user in the
> users file as follows:
>
> usernameAuth-Type := local, Password == "password", Login-Time :=
> "Al0800-0900"
> etc...
>
> This would only allow access between 8 & 9 in the morning on any day of the
> week (Al).
>
> Have a look in the /doc/README file, it tells you your options for what you
> can set.
>
> cheers,
>
> Paul
>
> > -Original Message-
> > From: Ronald Warner [mailto:[EMAIL PROTECTED]]
> > Sent: 23 August 2001 02:54
> > To: [EMAIL PROTECTED]
> > Subject: radiusd and time limit for one day
> >
> >
> > time limit is easy to set...  However, is it possible to
> > limit that time
> > limit for a specific period of time.  For example, the user can only
> > dial-in for only one hour a day.  Thanks.
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--
- Dan Perik
Computer Services Department
Lapilo Center
New Tribes Mission - PNG




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



RE: radiusd and time limit for one day

2001-08-23 Thread Paul Foxton

Hi,

Not 100% surewhat you want to do, but if you mean you want to set the time a
user can log in: yes it is possible, with Login-Time.

You need to specify this in the first line of your entry for the user in the
users file as follows:

usernameAuth-Type := local, Password == "password", Login-Time :=
"Al0800-0900"
etc...

This would only allow access between 8 & 9 in the morning on any day of the
week (Al).

Have a look in the /doc/README file, it tells you your options for what you
can set.

cheers,

Paul

> -Original Message-
> From: Ronald Warner [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2001 02:54
> To: [EMAIL PROTECTED]
> Subject: radiusd and time limit for one day
> 
> 
> time limit is easy to set...  However, is it possible to 
> limit that time 
> limit for a specific period of time.  For example, the user can only 
> dial-in for only one hour a day.  Thanks.
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html