Run external script after disconnect.

2003-01-29 Thread Andrew E. Guly
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?

Thank's for your time.
Sorry, if my English scare you...

-- 
Uralsvyazinform. Tazovsky, YANAD, Russia
Network administrator
e-mail: [EMAIL PROTECTED]
ICQ: 105874601
tel.: +7 34940 21100


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



Re: Run external script after disconnect.

2003-01-29 Thread Vitaliy Karlov
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
==


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


Re: Run external script after disconnect.

2003-01-29 Thread Do-Risika RAFIEFERANTSIARONJY
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