Hello: RH 9.0, freeRADIUS 1.4 I have been using freeRADIUS for the last 10 Months. Works great. I like to setup a maximum connection time of 120 minutes for each user. I am a complete newbie. Can somebody direct me to the file I need to set the timeout time? I also need to know the exact command, if possible. Thanks in Advance. Kirt
Hello:
RH 9.0, freeRADIUS 1.4
I have been using freeRADIUS for the last 10 Months. Works great. I like to setup a maximum connection time of 120 minutes for each user. I am a complete newbie.
Can somebody direct me to the file I need to set the timeout time? I also need to know the exact command, if possible.
Do you mean max connection time before logging in again? In that case, you usually just need to add Session-Timeout = xxx With xxx being the number of seconds before timing out. If you want to give them say 120 minutes each day or week or month. Then you should look at rlm_sql_counter. Install freeradius with experimental modules and read experimental.conf. This is all dependant on your NAS accepting the Session-Timeout variable and actually ending the session at that time.
Do you mean max connection time before logging in again? In that case,
you usually just need to add
Session-Timeout = xxx
Yes. I have looked into various files and can not find out where I enter this setting. Kindly, point out the file & the location (or the module), where I enter this command? Thanks a million. FUI, I use 3COM TCM. I think it handles the Session-Timeout featire. Kirti
Do you mean max connection time before logging in again? In that case,
you usually just need to add
Session-Timeout = xxx
Yes.
I have looked into various files and can not find out where I enter this setting. Kindly, point out the file & the location (or the module), where I enter this command?
The users file. Read man 5 users and the comments in the file named users. If you want this for everyone. DEFAULT Session-Timeout = 7200 You can also make it so only certain users get it depending on something. DEFAULT NAS-IP-Address == 1.1.1.1 Session-Timeout = 7200 Or DEFAULT Ldap-Group == dial Session-Timeout = 7200 Or individual users bob User-Password == password Session-Timeout = 7200 etc..
Dusty: You made it so simple. IT WORKS LIKE A CHARM. Million thanks. Kirti -----Original Message----- From: freeradius-users-bounces+kbajwa=tibonline.net@lists.freeradius.org [mailto:freeradius-users-bounces+kbajwa=tibonline.net@lists.freeradius.o rg] On Behalf Of Dusty Doris Sent: Friday, January 06, 2006 10:39 AM To: FreeRadius users mailing list Subject: RE: Connection TimeOut!!!
Do you mean max connection time before logging in again? In that case,
you usually just need to add
Session-Timeout = xxx
Yes.
I have looked into various files and can not find out where I enter this setting. Kindly, point out the file & the location (or the module), where I enter this command?
The users file. Read man 5 users and the comments in the file named users. If you want this for everyone. DEFAULT Session-Timeout = 7200 You can also make it so only certain users get it depending on something. DEFAULT NAS-IP-Address == 1.1.1.1 Session-Timeout = 7200 Or DEFAULT Ldap-Group == dial Session-Timeout = 7200 Or individual users bob User-Password == password Session-Timeout = 7200 etc.. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Dusty Doris -
Kirti S. Bajwa