One day user account

Goke Aruna goksie at gmail.com
Sat May 12 23:46:08 CEST 2007


Jan Mulders wrote:
> ...or if you're feeling lazy and know Perl, rlm_perl is an exellent
> tool to make your own policy decisions (as you can configure perl to
> talk to your mysql database).
>
> Hope this helps,
>
> Jan
>
> On 11/05/07, *Marc Miranda (GOWEX)* <mmiranda at iber-x.com
> <mailto:mmiranda at iber-x.com>> wrote:
>
>     Take a look at rlm_counter/rlm_sqlcounter (I don't know if it's
>     exactly what you are looking for) or if you don't want to
>     complicate, just work with a database logic and change the radius
>     auth queries depending on certain timestamps and NOW(), for
>     example, in the case of MySQL, in sql.conf.
>
>      
>
>     I'm not a guru, but it can be useful for starting looking for some
>     of the options…
>
>      
>
>     ------------------------------------------------------------------------
>
>     *De:*
>     freeradius-users-bounces+mmiranda=iber-x.com at lists.freeradius.org
>     <mailto:iber-x.com at lists.freeradius.org>
>     [mailto:freeradius-users-bounces+mmiranda=iber-x.com at lists.freeradius.org
>     <mailto:freeradius-users-bounces+mmiranda=iber-x.com at lists.freeradius.org>]
>     *En nombre de *Aren Chua
>     *Enviado el:* viernes, 11 de mayo de 2007 12:35
>     *Para:* freeradius-users at lists.freeradius.org
>     <mailto:freeradius-users at lists.freeradius.org>
>     *Asunto:* One day user account
>
>      
>
>      
>
>     Hi All,
>
>      
>
>     I would like to create a user account which only allow user to use
>     for 1 day. Once the user has been authenticated, the time will be
>     start counting and ended after 24 hours. Although the user didn't
>     fully used up their session time, radius still will reject user to
>     login.
>
>      
>
>     Can any expert give me some suggestion on how to create this user
>     account?
>
>      
>
>     Thanks
>
>      
>
>     Regards,
>
>     Aren Chua
>
>      
>
>     ------------------------------------------------------------------------
>
>     Download Messenger. Start an i'm conversation. Support a cause.
>     Join Now! <http://im.live.com/messenger/im/home/?source=TAGWL_MAY07>
>
>
>     -
>     List info/subscribe/unsubscribe? See
>     http://www.freeradius.org/list/users.html
>
>
> ------------------------------------------------------------------------
>
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
This is achieved with sqlcounter.

http://lists.cistron.nl/pipermail/freeradius-users/2005-October/047532.html

Goksie



More information about the Freeradius-Users mailing list