On Tue, Aug 23, 2011 at 4:48 PM, Stefan Majewsky <[email protected]> wrote: >> the only thing that might be interesting is to provide a serviceForSource >> implementation that allows interacting with a unit, if a user is able to do >> anything useful (such as activate/deactive a unit?). i'm not sure that's >> possible though; if not then a Service is also unecessary. > > That's possible, though the default setup of the D-Bus service grants > this right only to root. Sounds like a job for PolicyKit.
You might have a look at how "systemctl --privileged" (man says:"--privileged: Acquire privileges via PolicyKit before executing the operation.") -t
