Try this...
 
In acct_users:
DEFAULT Acct-Status-Type == Stop
    Exec-Program = "logger received_stop_packet"
Then send a acct stop packet to the server and check your syslog.
 
--
Regards,
 
Thor Spruyt
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com
M: +32 (0)475 67 22 65
Bestel nu uw exemplaar van Operationele verkoop (Walter Spruyt - Liesbeth Huysmans) via www.salesguide.be
Ontdek de Telenet Hotspot service op www.telenet.be/hotspots
----- Original Message -----
From: rashad
Sent: Tuesday, January 04, 2005 11:46 AM
Subject: acct_users file is not working

Hi people.
I have a radius server installed and working correctly.
Now I want an external program to be executed every time when accounting stop packet received as described in acct_users file. Here are my configuration:
 
file: acct_users
DEFAULT Acct-Status-Type == Stop
        Exec-Program = "/usr/local/sbin/testacct"
where testacct is shell script for testing (chmod-ed correctly):
 
file: /usr/local/sbin/testacct
#!/bin/sh
echo "aaaa" >> testacct.txt
After restarting the server,  when radius receives accounting stop packet the file is not executed!
Where may be the problem?

Reply via email to