[systemd-devel] Best way to limit per-user system-wide units
Reindl Harald
h.reindl at thelounge.net
Tue Dec 13 21:45:26 UTC 2016
Am 13.12.2016 um 22:40 schrieb Samuel Williams:
> Reindl, thanks for your ideas.
>
> So, I log in as me "bob", but I want to run a task as http, e.g. sudo
> -u http git checkout -f
>
> What do you propose as the alternative?
"man su" - the environment is completly different
it's also different between "su" and "su -"
but how is *that* a systemd-unit job and what do you think to gain when
you work all the time with sudo (in the worst case even without a password)
P.S: get rid of reply-all, i donät need two copies of every list mail
one responds to
> On 14 December 2016 at 09:49, Reindl Harald <h.reindl at thelounge.net> wrote:
>>
>>
>> Am 13.12.2016 um 21:41 schrieb Samuel Williams:
>>>
>>> I wanted to use systemd --user but had trouble getting it to run via
>>> sudo- seemed like the environment wasn't getting set up correctly. Any
>>> ideas?
>>
>> get rid of sudo and re-consider everything where you are using sudo/su
More information about the systemd-devel
mailing list