[Interest] Qt, running as root (sudo/setuid), DBus and OS X

René J. V. Bertin rjvbertin at gmail.com
Fri Sep 23 01:06:31 CEST 2016


Ch'Gans wrote:


>> It's not possible to connect to another user's session bus.

> I'm not trying to say that this is what René should do, I'm just
> saying that it is technically possible, for the sake of correctness.

My first attempts to get a privileged service to work involved exporting my 
launchd session bus socket to root, via launchctl. That worked; I think that's 
sufficient proof that root at least can connect to a lesser user's session bus, 
on OS X.

R




More information about the Interest mailing list