Launch external script after login and logout

Gianni Olivieri gianni.olivieri at sicetelecom.it
Fri May 8 13:03:30 CEST 2009


> Ivan Kalik ha scritto:
>
>>    in a previous verison of freeradius I use the acct_users file to
>> launch a python script after login/logout of a user.
>>
>> the acct_users was so:
>>
>> DEFAULT         Acct-Status-Type == "Start"
>>                 Exec-Program = "/etc/freeradius/SCRIPT/userlogin.py
>> %{User-Name}"
>> DEFAULT         Acct-Status-Type == "Stop"
>>                 Exec-Program = "/etc/freeradius/SCRIPT/userlogout.py
>> %{User-Name}
>>
>> Now with freeradius 2.0.4 this acct_users doesn't work.
>>     
>
> http://wiki.freeradius.org/FAQ#It_still_doesn.27t_work.21
>   
ok, thanks for this link. I've already read this page but I'ven't find 
the solution.

> You have sent thing one, but not thing two (thing three is irrelevant).
>   

??? sorry but I don't understand this.

Can anyone explain me where set the call to an external program when a 
user do a login or a logout?

Best regards.

-- 
Gianni Olivieri
SICE Telecomunicazioni
------------------------------------
Via Tazio Nuvolari, 53
55061 - Carraia (LU) - ITALY
------------------------------------------------
Tel. +39 0583 980787
Fax +39 0583 981495
www.sicetelecom.it
gianni.olivieri at sicetelecom.it
----------------------------------------------- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090508/095a0efa/attachment.html>


More information about the Freeradius-Users mailing list