On Mon, 2 Sept 2024 at 21:57, Vincent Lefevre <vinc...@vinc17.net> wrote:

> As of systemd 256.5-2, utmp support is disabled (/var/run/utmp
> no longer exists), while w is still working. So it seems that
> /var/run/utmp is no longer used.
>
For that particular default way of installation. I've added a note that its
only for
non-systemd systems.


> According to strace, wtmpdb isn't used either. So, how is the
> information obtained?
>
The same way loginctl does it, using the systemd library that reads
/run/systemd/users/*

 - Craig

Reply via email to