howto limit the acces of users
Ok, but when i create a new user, using dialup admin, how do i define how long could he stay connected. In the mysql db where could i find the correspondance User-Name <-> Time spent ot time left. Is it stored in the db ? Sorry for all those stupid questions but i didn't manage to find any documentation on that, if you have a link in your mind :) Thx once again.
Have a look at Login-Time, Session-Timeout and counters (daily and SQL daily and monthly are in radiusd.conf).
user1 - Session-Timeout or no reset counter user2 - daily counter or Login-Time (if it is particular time of day)
Ivan Kalik Kalik Informatika ISP
Dana 28/5/2007, "vik" <vik_viktor at yahoo.com> piše:
Hello,
I would like to have for each user a time limit, for instance:
user1 4 hours user2 2 hours/day user3 illimited etc...
Thx in advance.
____________________________________________________________________________________Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&c...
I have no idea, since I don't use dialup admin, but looking at this: http://www.freeradius.org/dialupadmin.html you should be able to do it all with that. User radius settings administration is where you can sort out attributes and main page should give you info about time used. In MySQL, setting your limit is defined by the counter attribute Max-whatever and time spent is contained in radacct table. Time left is calculated by subtracting time spent and used to dynamically set Session-Timeout attribute at logon. Ivan Kalik Kalik Informatika ISP Dana 28/5/2007, "vik" <vik_viktor@yahoo.com> piše:
Ok, but when i create a new user, using dialup admin, how do i define how long could he stay connected.
In the mysql db where could i find the correspondance User-Name <-> Time spent ot time left. Is it stored in the db ?
Sorry for all those stupid questions but i didn't manage to find any documentation on that, if you have a link in your mind :)
Thx once again.
participants (2)
-
tnt@kalik.co.yu -
vik