[systemd-devel] systemd - how to run system service by user target

Kamil Jońca kjonca at o2.pl
Thu Oct 20 12:03:00 UTC 2016


Lennart Poettering <lennart at poettering.net> writes:

[...]
>
> Well, this would require a privilege elevation. You can configure that
> by invoking "systemctl start --system" on the right system units, and
> then telling PK via its policy language that your user shall be
> allowed to do that. But I am not PK policy pro, you'd have to check
> the policy language to figure out how best to do this.

Well, simpler would be do system target, and run systemctl via sudo :)
Thanks.
KJ
-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
The church is near but the road is icy; the bar is far away but I will
walk carefully.
		-- Russian Proverb


More information about the systemd-devel mailing list