[systemd-devel] Best way to limit per-user system-wide units

Samuel Williams space.ship.traveller at gmail.com
Tue Dec 13 21:48:51 UTC 2016


Reindl, I understand where you are coming from, but I'm not sure I
understand what the alternative you are proposing is, are you
suggesting I use su?

On 14 December 2016 at 10:45, Reindl Harald <h.reindl at thelounge.net> wrote:
>
>
> 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
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list