]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: when invoked as "uid0", expose some sudo-like behaviour
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Dec 2023 18:10:52 +0000 (19:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Dec 2023 18:14:43 +0000 (19:14 +0100)
commit72eb3081b21a12252159e24188e25d04f14af83c
tree4072284f743caa11b68eadeee3eaf5dff99c131d
parent20f8b345db15382fe7c54db6b1da0dee2fb661a6
run: when invoked as "uid0", expose some sudo-like behaviour

This turns "systemd-run" into a multi-call binary. When invoked under
the name "uid0", then it behaves a bit more like traditional "sudo".
This mostly means defaults appropriuate for that, for example a PAM
stack, interactivity and more.

Fixes: #29199
man/rules/meson.build
man/systemd-run.xml
man/uid0.xml [new file with mode: 0644]
src/run/meson.build
src/run/run.c
src/run/systemd-uid0.in [new file with mode: 0644]