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