rlm_echo
Synopsis
The echo
module is a variant of the exec module.
Processing Sections
None.
Expansions
This module registers only one expansion.
- Syntax
-
%{echo: …}
- Contents
-
The contents of the expansion are the name of the program, and any arguments to it. For security reasons, the full path to the program must be used, e.g.,
/bin/true
. The output of the expansion is any text that was printed by the program. -
The
stdin
of the executed program is connected to/dev/null
. -
The
stdout
of the executed program is captured by the module and returned as the output of the expansion. -
The
stderr
of the executed program is connected to/dev/null
.
Directives
See the exec module for a description of the directives.
The configuration for the echo
module should not be changed. If
there is a need for another variant of the exec
module, then instead of modifying echo
, a new
module should be created .