Launch external script after login and logout
Ivan Kalik
tnt at kalik.net
Fri May 8 18:13:27 CEST 2009
> 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 Acct-Status-Type == "Stop"
> Tmp-String-0 =
> "%(exec:/etc/freeradius/SCRIPT/userlogout.py User-Name)"
>
Read man unlang to see how to use variables (in your case User-Name).
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list