Re: Launch external script after login and logout

2009-05-08 Thread Alan DeKok
Gianni Olivieri wrote: > thanks for the reply... but there is some error in my conf... now my > acct_users is: > > radius:/etc/freeradius/sites-enabled# cat ../acct_users > DEFAULT Acct-Status-Type == "Start" > Tmp-String-0 = > "%(exec:/etc/freeradius/SCRIPT/userlogin.py Us

Re: Launch external script after login and logout

2009-05-08 Thread Ivan Kalik
> thanks for the reply... but there is some error in my conf... now my > acct_users is: > > radius:/etc/freeradius/sites-enabled# cat ../acct_users > DEFAULT Acct-Status-Type == "Start" > Tmp-String-0 = > "%(exec:/etc/freeradius/SCRIPT/userlogin.py User-Name)" > DEFAULT

Re: Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
Alan DeKok ha scritto: Gianni Olivieri wrote: 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

Re: Launch external script after login and logout

2009-05-08 Thread Alan DeKok
Gianni Olivieri wrote: > 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/use

Re: Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
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}" D

Re: Launch external script after login and logout

2009-05-08 Thread Ivan Kalik
>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

Launch external script after login and logout

2009-05-08 Thread Gianni Olivieri
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