Own exec module with bash: permission denied

Alan DeKok aland at deployingradius.com
Sun Mar 20 18:14:46 CET 2011


Marten Pape wrote:
> Hello,
> in my post-auth section I use a self-created exec-module, that is
> supposed to execute a shell script. This shell script exists and its
> modifiers are 777. But every time, it should be executed, something like
> this appears on debug output:
> 
> # Executing section post-auth from file
> /etc/freeradius/sites-enabled/default
> +- entering group post-auth {...}
> /bin/bash: /root/bin/dhcp/update_dhcp_from_radius.sh: Permission denied

  The script is owned by "root", and the server is running as user
"radiusd".

  Alan DeKok.



More information about the Freeradius-Users mailing list