summaryrefslogtreecommitdiffstats
path: root/man/rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-12-19 19:10:52 +0100
committerLennart Poettering <lennart@poettering.net>2023-12-21 19:14:43 +0100
commit72eb3081b21a12252159e24188e25d04f14af83c (patch)
tree4072284f743caa11b68eadeee3eaf5dff99c131d /man/rules
parentenv-util: add strv_env_assignf() helper (diff)
downloadsystemd-72eb3081b21a12252159e24188e25d04f14af83c.tar.xz
systemd-72eb3081b21a12252159e24188e25d04f14af83c.zip
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
Diffstat (limited to 'man/rules')
-rw-r--r--man/rules/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/man/rules/meson.build b/man/rules/meson.build
index 3d63cf1131..622921f8d6 100644
--- a/man/rules/meson.build
+++ b/man/rules/meson.build
@@ -1257,6 +1257,7 @@ manpages = [
''],
['udev_new', '3', ['udev_ref', 'udev_unref'], ''],
['udevadm', '8', [], ''],
+ ['uid0', '1', [], ''],
['ukify', '1', [], 'ENABLE_UKIFY'],
['user@.service',
'5',