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.rei...@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.rei...@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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel