Re: dbus: Removing pam_console, pam_foreground, /var/run/console support?

Colin Walters <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1498753921.2274794.1025499472.005D7661@webmail.messagingengine.com>

On Thu, Jun 29, 2017, at 12:28 PM, Simon McVittie wrote:
> 
> After the /var/run/console protocol is removed, the following protocols
> to get equivalent information for "at_console" policy rules will remain
> available in dbus:
> 
> * If enabled, ask systemd-logind via its C API in libsystemd; a user with
>   a session on any seat is considered to be at the console
> * If compiled for Solaris, probe the file owner of /dev/console;
>   its owner is considered to be at the console

That seems fine to me; I doubt there's a big set of systems
relying on this that aren't using systemd.  For those that aren't, I think
the sanest thing is to pick up the work done elsewhere to implement
the logind1 DBus API.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.