Infor required to use the exec_program

Phil Mayers p.mayers at
Wed Aug 23 13:51:02 CEST 2006

Shankar Ganesh C wrote:
> radius_xlat:  '/usr/bin/exec-program-wait'
> Exec-Program: /usr/bin/exec-program-wait
> /usr/bin/exec-program-wait: printenv: not found
> Sending Accounting-Response of id 0 to port 1230
> Finished request 0
> Going to the next request

"printenv: not found"

Seems pretty clear. Either you are not running the script with the 
correct shell (what is the #! line?) or printenv is not in the path that 
the script is inheriting. Fix the script.

More information about the Freeradius-Users mailing list