#utmp — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #utmp, aggregated by home.social.
-
The sad thing is, as I was saying last year, all of this is unnecessary. The kernels, #FreeBSD, #NetBSD, #OpenBSD, and #Linux, all maintain almost all of the stuff that 'who' needs, and have done since the switch to POSIX sessions and process groups in the 1980s.
There aren't any needs for a parallel database outwith the kernel. A few sysctl/procfs extensions for reading the kernel's own list of sessions, and we'd be away.
-
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/