On Mon, 11 Feb 2002, Peter Santiago wrote:

> Based on what I'm reading below ... to set time limits for my users, I need
> to use a database (MySQL). Do I?  I'm using portslave wih freeradius.... If
> I just want to use /etc/passwd for authentication... where and how should I
> store the time limits for each users?  Thanks
>

You need to store either the check for Daily-Session-Time or the
Max-Daily-Session somewhere. That can be a db (sql,ldap) or just the users file.
If you are lazy you could just add a DEFAULT entry in your users file and be
just fine. Something like:

DEFAULT Max-Daily-Session := 14400

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf



- 
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