Hello all,
Backstory:
I am trying to monitor all of my devices with Zabbix and one of its features is that it can tell how many users are logged into a Linux device by executing who | wc -l
. It did not properly detect connections to my router running OpenWRT 18.06.5. I realized the who binary was not installed, so I installed it.
Problem:
This is when I found that running who
when connected over the default Dropbear SSH connection does not show the Dropbear connection.
Output when connected via OpenSSH to my server:
{19-12-10 11:10}emu:~ v% who
v pts/0 2019-12-10 11:01 (10.0.1.13)
{19-12-10 11:10}emu:~ v%
Output when connected via Dropbear to my router:
root@suss:~# who
root@suss:~#
I've tried:
Searching Google and Duckduckgo for information about Dropbear connections now showing in who
Searching Google and Duckduckgo for information about connections that do not show in who
Looking through OpenWRT docs on configuration for Dropbear to see if it is a missing feature/setting
Question:
Does anyone know what is going on and/or how I can fix it? It makes me uncomfortable not being able to know when someone is logged into the router...