> For the complete documentation index, see [llms.txt](https://syslog-macos-testing.gitbook.io/syslog-macos-testing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://syslog-macos-testing.gitbook.io/syslog-macos-testing/modules/afuser-1.md).

# afuser \[1]

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 <a href="#testing" id="testing"></a>

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.

{% hint style="info" %}
Note : The usertty() does not have any further options nor does it support templates.
{% endhint %}

#### Configuration file used <a href="#configuration-file-used" id="configuration-file-used"></a>

```
@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);
};

```

### Proof

![usertty() driver tested on macOS (x86)](https://3267548193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaZdBoDvCx_0JwOUICk%2F-Mh9f4rVabVZPIv8i7XR%2F-Mh9psp5nD_uJ7DEV212%2FScreenshot%202021-08-15%20at%208.22.48%20PM.png?alt=media\&token=f9cacd86-6855-4d24-aff6-de786e05d7f2)

![usertty() driver tested on macOS (ARM)](https://3267548193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaZdBoDvCx_0JwOUICk%2F-Mh9rZqsMqWIqcJS682k%2F-Mh9skmNFt13ioT5bMa_%2FScreen%20Shot%202021-08-15%20at%208.34.14%20PM.png?alt=media\&token=375cfe3a-1b25-4ff0-a432-905902bbefee)
