7.27. usertty: Sending messages to a user terminal — usertty() destination

This driver writes messages to the terminal of a logged-in user.

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.



The usertty() does not have any further options nor does it support templates.

Example 7.55. Using the usertty() driver
destination d_usertty { usertty("root"); };