7.2.9. Exec-Program Previous topic Parent topic Child topic Next topic

This pseudo reply does not actually add any reply items to the reply. It runs the external program given by the argument and waits for it to terminate. It is only run during reply handling, which means that it is only run if the user successfully authenticates. This is a handy way to run an external program when a user successfully logs in. The argument may contain any special characters. For more information, see Section 3.3. Special formatters.
Tip
There is no guaranteed environment for the external program to run in, so you should specify a program with its full path name.
Exec-Program="/usr/local/bin/sendgreeting %u"
Tip
Radiator is blocked while the external program runs. On Unix, If you do not want Radiator to wait for the program to terminate, use an ampersand (&) at the end of the line:
Exec-Program="/usr/local/bin/myslowprogram %u &"