> Hi,
>
> I have a problem with Accounting-script-execution in raddb/acct_users :
> --
> DEFAULT Acct-Status-Type == Stop
>         Exec-Program = "echo PRUEBA >> /home/pru.txt"
> --
>

I don't know if you can do it like that.  You could try writing a script
such as this.

#!/bin/sh
/bin/echo "PRUEBA" >> /home/pru.txt

Or if you are intending to do something else with that, this will show you
all the variables passed to it

#!/bin/sh
/usr/bin/printenv >> /home/variables.txt

Then call that script instead.

Exec-Program "/path/to/yourscript.sh"


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

Reply via email to