On 2026-02-04 03:48:50 -0500, Thomas Dickey wrote:
> On Wed, Feb 04, 2026 at 04:43:25AM +0100, Vincent Lefevre wrote:
> > No, as since the removal of utmp, this is now a required feature, as
> > said by Chris Hofstaedtler.
>
> I forget who's Chris - some generally acknowledged authority on software
> requirements? If so, you should mention the allusion by their role.
He's the maintainer of bsdutils.
> > > In a quick check, "xterm -ls" does run a "login" shell, but systemd
> > > doesn't know about that (something to investigate).
> >
> > This should be independent from whether the shell is a login shell,
> > anyway ("logind" is probably misnamed as the intent is to also
> > handle the terminal sessions).
>
> I don't see another route to getting the data into systemd's cache.
>
> (its documentation is poor, but you may have something specific in mind)
I don't know, but apparently, systemd should not be used directly,
but via PAM (it seems that systemd would then be used transparently
via pam_systemd).
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)