about using privileged (KAuth) helpers: system dbus daemon on OS X?

René J.V. Bertin rjvbertin at gmail.com
Sat Sep 17 19:37:15 UTC 2016


I'm still trying to get around platform-limitations on OS X to get privileged helpers to work in the KF5 KAuth framework.

I had hoped that it would only be a matter of a fallback obtaining the session bus address when running under sudo or setuid (see the attached patch, against v1.10.8), but after getting the privileged helper to leave messages where I can read them it turns out it is being started by the system dbus daemon.

I can only presume this is the case on Linux too, but how then can it connect to the user's session bus there?

FWIW: running 


appears to give allow privileged helpers to work with the patched dbus.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-allow-setuid.diff
Type: text/x-patch
Size: 1598 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20160917/dca77a62/attachment.bin>

More information about the dbus mailing list