Executing an external program
Muhammad Usman
muhd.usman87 at gmail.com
Wed Apr 16 15:52:22 CEST 2014
Hi,
Thanks for your reply.
Just to make it very easy for me, i have updated the default file like this,
update reply {
Tmp-String-0 = "%{exec:echo hellllllloooooooooooooooooo}"
}
On receiving accounting packet, logs does not shows any error, but they
also do not echoes the string i passed.
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] returns updated
Executing echo hellllllloooooooooooooooooo
result 0
expand: %{exec:echo hellllllloooooooooooooooooo } ->
++[reply] returns updated
Sending Accounting-Response of id 35 to 192.168.6.121 port 55006
On Wed, Apr 16, 2014 at 6:22 PM, Alan DeKok <aland at deployingradius.com>wrote:
> Muhammad Usman wrote:
> > Error: Unable to access jarfile '/var/AccountingProcessor.jar'
>
> That error is pretty simple to understand.
>
> The radius server needs permissions to run that file. My suggestion
> is to place the file in the raddb/ directory. And give it the same
> owners and permissions as the other files in that directory.
>
> It's just easier.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140416/6b7905fa/attachment-0001.html>
More information about the Freeradius-Users
mailing list