Vitaliy Karlov wrote:
Andrew E. Guly wrote:

I use FreeRadius-0.8.1 with Postgres on Linux RH 8.0 for authenticate and accounting dial-in users.

My radiusd execute the external script with "Exec-Program-Wait = /some/script" when user is autenticated.
No problems, it's worked fine...

Q: How I can execute the external script *after* user disconnecting?

May be you look at file acct_users ?
When your radius server recieve Acct-Stop...

some like this:
acct_user:
========== acct_users ==============
DEFAULT Acct-Status-Type == Stop
        Exec-Program = "/path/to/some/script.pl"
==================================
thanks, i've never noticed this *useful feature* before,

so i think i'd have to add acct_users in the radius.conf accounting section ?

best regards,

--
Do-Risika RAFIEFERANTSIARONJY, SysAdmin
mailto:[EMAIL PROTECTED]
________________
Simicro Internet, mailto:[EMAIL PROTECTED], http://internet.simicro.mg
Tel : (+261) 20 22 648 83 (GMT +3), Fax : (+261) 20 22 661 83



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to