Dustin Doris wrote:

Check out exec echo in radiusd.conf.  That is an example using exec to run
a script.

Read variables.txt in doc/

For your first script, make it this.
#!/bin/sh
printenv > /tmp/example

It passes all the variables to your script as environmental variables.
This will show you.

Okay, but how do I pass the good or bad news back to radius at the end of my script? Exit status? Standard output? And how would I hook this into authorization? A really useful example would be great, but if that isn't available I do at least need some idea of how to communicate the result of my authorization attempt back to Radius.

--
Thomas Boutell
Boutell.Com, Inc. http://www.boutell.com/



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

Reply via email to