At 01:18 PM 4/28/2002 -0500, Erich Zigler wrote:

>Is it possible to limit the total number of hours a user uses online? Such 
>as specify 150 hours a user may use a month. If they pass 150 hours, it 
>will no longer allow them to login.
>
>I've read about the Login-Time attribute where you can specify what times 
>they can login, but it doesn't allow you to specify a Total Time.
>
>Any ideas?

Read further, about the 'rlm_counter' module.  There are examples in the
default 'radiusd.conf'.  Also take a look at the 'rlm_sqlcounter', which
is still experimental and has config examples in 'experimental.conf'.

-Chris

--
    \\\|||///  \          StarNet Inc.      \        Chris Parker
    \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Wholesale Internet Services - http://www.megapop.net



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

Reply via email to