Easiest way to do this would be to write a script/program that disables the account in MySQL, rather than leaving it up to radius. Presumably something is 'enabling' them at 10:00am Teusday... something else (outside of radius) could then remove them 24hours later.


Immediate suggestions are adding another table to MySQL, with custid/time or username/time fields, the time field containing the time to disable the account. Write a quick daemon to watch the table, and clean things up based on the information set.

frm

On Monday, January 5, 2004, at 01:26 PM, Roy Wills wrote:

I have read the FAq and seems that you can only block the times of day someone can log in. What i need is a way to say that the user is
only allowed to authenticate for 24 hours. IE: I put them in the database at 10:00am on Tuesday, they can then log in until 10:00 am on
Wednesday. Is this possible when using a MySQL database for users? If so where can i find a FAQ on setting up?


Thanks in advance
Roy



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


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

Reply via email to