but these are logins by a server in my server index and not a local user, using Ubuntu 24.04 (before /run/utmp disappeared) the same server would show all the logins (I use tmux with 4 panes so there should be at least 5 entries) so I guess the patch is not a full fix. Note the HTML code that is not being rendered also
just to clarify, root is logged in via ssh and has 4 tmux panes open in the days of /run/utmp each instance would have been returned by the who command
the ‘w’ command picks up root but doesn’t show the connection from the server in my servers index. Which is correct ?
If you look at the previous screen shot root is missing (the user that started tmux) you will the w command shows root logged in but who does not, additionally who shows a connection via webmin (server in webmin servers index) where w does not, so which is correct ? When in reality both utilities are missing an element
w is correctly showing root’s SSH login. And, on Ubuntu 26.04 systems without the old utmp login records, who will miss SSH sessions that w finds through systemd, so this is why my previous fix makes Webmin read systemd sessions directly to list the missing root SSH login.
notice who does not show shell connections (e.g connections via ssh) but does show the connections via tmux, hence there is no IP displayed (I’m guessing that if the IP is local that data is omitted from the who output).
Webmin shows this