Bash Script not exec-uting in Daemon Mode
Mike Ruebner
freeradius at machichemicals.com
Wed Mar 30 04:38:33 UTC 2022
Hi,
Strange doings executing a bash script from the 'exec' module in v.3.0.21 on Debian 11.3. Everything works fine in debug mode ('-X'), but script execution fails in daemon mode. This used to work before a recent upgrade from v.3.0.17. Any pointers greatly appreciated! Mike
<--- rlm_exec
exec failmail {
wait = no
input_pairs = request
shell_escape = no
timeout = 1
program = "/etc/freeradius/3.0/execscripts/mailbot.sh %{User-Name}"
}
--->
<--- ls -al ../execscripts
drwxr-xr-x 2 freerad freerad 4096 Mar 29 23:46 .
drwxr-xr-x 10 freerad freerad 4096 Mar 25 20:18 ..
-rwxr-x--x 1 freerad freerad 1503 Mar 28 18:47 mailbot.sh
-rw-r----- 1 freerad freerad 428 Feb 29 2020 template.mail
--->
More information about the Freeradius-Users
mailing list