[systemd-devel] sudo -u app_user systemctl --user

2014-03-20 Thread David Schmitt
Hi, for a hosting project, I'd like to enable some users to control the user session of an application user. Configuring and running the applications under the app user already works great. The straightforward way in my mind would have been to enable sudoing from the personal accounts

Re: [systemd-devel] sudo -u app_user systemctl --user

2014-03-25 Thread David Schmitt
On 24.03.2014 20:27, Lennart Poettering wrote: On Thu, 20.03.14 12:43, David Schmitt (da...@dasz.at) wrote: The systemd --user stuff is not complete yet, and will likely be complete only when kdbus support is completed too. Note that systemd --user is only for real login users though

Re: [systemd-devel] sudo -u app_user systemctl --user

2014-03-25 Thread David Schmitt
On 25.03.2014 12:59, Jóhann B. Guðmundsson wrote: On 03/25/2014 08:42 AM, David Schmitt wrote: If that is a better supported way of achieving my goal of giving a set of users the power to manage their own services... Can you further explain why you want to do that? What's the use case here

Re: [systemd-devel] sudo -u app_user systemctl --user

2014-03-25 Thread David Schmitt
On 25.03.2014 15:10, Mantas Mikulėnas wrote: What behavior do you want? The requirement I initially asked about, is this: given the proper sudoers entry allow user alice to run $ sudo -u bob systemctl --user reload nginx.service and have it work. My analysis ended at the point

Re: [systemd-devel] Requiring hardware device and escaping device names

2014-03-26 Thread David Schmitt
On 2014-03-26 14:50, Kai Hendry wrote: Thanks Michael for answering, :) On 26 March 2014 18:59, Michael Biebl mbi...@gmail.com wrote: 2014-03-26 3:56 GMT+01:00 Kai Hendry hen...@webconverger.com: If your daemon is not functional if the hardware is not present, I'd probably start it via a udev