How to interact with existing dbus session through sudo?

Louise Baldwin louiserbaldwin at aol.com
Tue Mar 18 11:22:45 PDT 2014


 Why not?

I need to be able to run tasks consecutively for two different users (root and Louise). How do you suggest this be accomplished if it's "impossible" to use sudo with dbus?

 

 

-----Original Message-----
From: Thiago Macieira <thiago at kde.org>
To: Louise Baldwin <louiserbaldwin at aol.com>
Sent: Sun, Mar 16, 2014 6:14 pm
Subject: Re: How to interact with existing dbus session through sudo?


One user cannot connect to another user's session bus. That's why you should 
not do it: because it doesn't work.

Redesign your solution.

Em dom 16 mar 2014 16:31:00 você escreveu:
> Could you please explain a) how I would do it and b) why you don't recommend
> it?
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Thiago Macieira <thiago at kde.org>
> To: dbus <dbus at lists.freedesktop.org>
> Sent: Sun, Mar 16, 2014 12:14 pm
> Subject: Re: How to interact with existing dbus session through sudo?
> 
> Em dom 16 mar 2014, às 08:56:18, Louise Baldwin escreveu:
> > How can I go about accessing an existing dbus session through sudo?
> 
> You shouldn't do that.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20140318/a15bc244/attachment.html>


More information about the dbus mailing list