@Larvitz

3.

Some Linux-based operating systems no longer maintain the Unix login database; most notably, perhaps, Ubuntu from this year, although other operating systems got rid of it earlier than Ubuntu did.

It's not "who", unless one has a specially patched version, but rather the systemd native "loginctl list-sessions" now. And that latter is all that some Linux people now know.

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2103489

https://forums.freebsd.org/threads/how-to-list-the-current-active-login-sessions.77834/

#FreeBSD #who #utmpx #utmp #loginctl #Ubuntu

Bug #2103489 ""who” command is not listing the users” : Bugs : systemd package : Ubuntu

SRU Justification: ------------------ [ Impact ]  * The small but well known and popular tool 'who',    included in the coreutils package,    is not built in the correct way in Ubuntu 25.04,    hence does not work properly    and just prints nothing when executed on 25.04.  * In Ubuntu, systemd is no longer built with utmp support.    Among other things, this means that systemd’s default    /usr/lib/tmpfiles.d/systemd.conf no longer creates /run/utmp.  * To solve this situation coreutils ...

Launchpad