Launch external script after login and logout

Gianni Olivieri gianni.olivieri at sicetelecom.it
Fri May 8 12:28:32 CEST 2009


Hi to all,

   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.
How can launch a script after a login and 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
-----------------------------------------------





More information about the Freeradius-Users mailing list