On Thu, 3 Apr 2025 at 09:47, Marco d'Itri <m...@linux.it> wrote:

> On Apr 02, Bill Allombert <ballo...@debian.org> wrote:
>
> >Does that breaks the usual unix commands like 'who' ? If yes this is
> who(1) specifically, yes.
> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079575 .
> Maybe the coreutils maintainer is already working to backport this
> simple patch in time for trixie, or else you could help him.
>
> >dangerous. It is common to use them before deciding whether a host
> >can be shut down.
> You may use w(1) for the time being.
>
w uses the systemd method by default now which is why it reports users.

I thought there was upstream coreutils support for systemd in gnulib[1]
which
is what who uses, so in theory it's a configure change.

I must admit I don't fully follow coreutils source so may have missed
something.

 - Craig

1:
https://github.com/coreutils/gnulib/blob/bb506f75625b47d7844af2b6dc4b8192d4dea676/lib/readutmp.c#L981

Reply via email to