hmmm....id ont think i am explaining this very well. I need some users to only have access for a week (ie: monday to following monday) and some users have a month of access (ie: Jan 1 to Jan 31). I do not think that actuall session times are going to work in this case since they are not actually doing a traditional dial-in setup. Radius is just there to have centralized authorization for about 6 networks across the city. Is there an attribute to allow from first login to say disable after 7 days or 30 days?
1/10/03 4:18:42 AM, Kostas Kalevras <[EMAIL PROTECTED]> wrote: >On Thu, 9 Jan 2003, Roy Wills wrote: > >> ok...i have read the radiusd.conf and scoured once again the docs and am not >> grasping where i need to put the attrib. i have users that only have access >> for a week and some for a month. Its >> all time-frame based and varies. i guess my question now is do i have a line >> like this for every usrs on top of the accept lines? >> DEFAULT Daily-Session-Time > 3600, Auth-Type = Reject >> Reply-Message = "You've used up more than one hour today >> or do i need to create a db.counter file for theese? If this is totally wrong >> can you point me to a faq better than the docs that are with it? > >The docs are really just fine. > >You can set the corresponding attribute for each user: > >userweekly Max-Weekly-Session := 4500 > >usermonthly Max-Monthly-Session := 45000 > >Just make sure you don't set DEFAULT entries with these attributes. > >> >> >> 1/9/2003 4:30:35 PM, "Alan DeKok" <[EMAIL PROTECTED]> wrote: >> >> >Roy Wills <[EMAIL PROTECTED]> wrote: >> >> Is there a way to limit the time a user can spend online? What i >> >> want to do is say that user X has 1 week of use and after that they >> >> are no longer allowed to log in. >> > >> > Yes. Read 'raddb/radiusd.conf', and look for the 'counter' module. >> > >> >> If so when does the time start, when the first logins or when i put >> >> the user/pass in the users file? >> > >> > When the user first logs in. >> > >> > Alan DeKok. >> > >> >- >> >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html >> > >> > >> >> >> >> >> - >> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html >> > >-- >Kostas Kalevras Network Operations Center >[EMAIL PROTECTED] National Technical University of Athens, Greece >Work Phone: +30 210 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
