dbus: Removing pam_console, pam_foreground, /var/run/console support?
Colin Walters
walters at verbum.org
Thu Jun 29 16:32:01 UTC 2017
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.
More information about the dbus
mailing list