]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: accept "|" ExecStart= prefix to spawn target user's shell; teach run0 about...
authorMike Yuan <me@yhndnzj.com>
Mon, 12 May 2025 14:10:03 +0000 (16:10 +0200)
committerGitHub <noreply@github.com>
Mon, 12 May 2025 14:10:03 +0000 (16:10 +0200)
I've always been reluctant to invoke the current user's shell in another
user's context, hence was fully grounded in `sudo -i`. With this bit in
place `run0` will finally be feature-complete on my side ;-)

1  2 
src/core/exec-invoke.c
src/core/load-fragment.c
src/shared/exec-util.c

Simple merge
Simple merge
Simple merge