[Dev] Will systemd write utmp entries for logged in users in future?

Zhang, Zhengguang zhengguang.zhang at intel.com
Tue Dec 16 01:15:44 GMT 2014

> On 12.12.2014 11:32, Stéphane Desneux wrote:
> > What about using loginctl or equivalent to get the list of opened
> > sessions ? That will be different from utmp (you won't see other
> > logins as su, ssh, login on ttys etc.), but maybe it's sufficient for your
> needs ?
> >
> > The recently added TLM may also help you, as the daemon is supposed to
> > manage the user sessions :)
> TLM handles utmp side too. Normal user sessions (those that call
> pam_systemd) should appear in both loginctl and utmp. While all user
> sessions should appear in utmp, but not necessarily in loginctl. (such as
> "genivi" user's session on IVI appears only in utmp)
Jussia, do you mean that the utmp will be supported for logged in users in TLM soon?
So that we can get the logged in users info from utmp instead of loginctl, right?

Zhang Zhengguang

More information about the Dev mailing list