afuser
The afuser module has only one driver, that is the usertty() destination driver. The usertty() driver sends messages to a user terminal.
Status
Architecture | Status |
---|---|
x86 | Works |
ARM | Works |
Testing
The usertty() driver has a single required argument, specifying a username who should receive a copy of matching messages. Use the asterisk * to specify every user currently logged in to the system.
Note : The usertty() does not have any further options nor does it support templates.
Configuration file used
@version: 3.33
@include "scl.conf"
source custom
{
example-msg-generator(
num(20)
freq(5)
template("Message to Terminal")
);
};
destination d_usertty {
usertty("*");
};
log {
source(custom);
destination(d_usertty);
};