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?
%> sudo launchctl setenv DBUS_LAUNCHD_SESSION_BUS_SOCKET $DBUS_LAUNCHD_SESSION_BUS_SOCKET
appears to give allow privileged helpers to work with the patched dbus.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1598 bytes
Desc: not available
More information about the dbus