Help running External Script in FR 2.1.1

Madwifi madwifi at vermark.com
Fri Oct 17 05:40:34 CEST 2008


>From reading online, I understand its possible to run external script but I haven't been able to find a simple example.

I would like to know if this is possible.
If so, could somebody help with a simple example?

I want this script to be run on post-auth REJECT which i believe goes on the following sub-section of post-auth.


        Post-Auth-Type REJECT {
                attr_filter.access_reject
        }


The script is very simple.

script name:  test.sh

#!/bin/sh

echo "user bla bla rejected" >> /tmp/test.txt


I am running freeradius-server-2.1.1.  As you can see, the script is pretty simple.


I appreciate all the help.


Thanks

AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081016/88a5886b/attachment.html>


More information about the Freeradius-Users mailing list