]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/machine/machined-dbus.c
machined: add new OpenShell() bus call
authorLennart Poettering <lennart@poettering.net>
Sun, 23 Aug 2015 11:20:58 +0000 (13:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Aug 2015 20:46:45 +0000 (22:46 +0200)
commit49af9e1368571f4e423cde0fd45ee284451434d1
tree979c0660f04cdf59cd5574a82cfe0b198dd10f59
parent506711fddd432aff2aacadfe0e43b0ff5411b106
machined: add new OpenShell() bus call

This new bus call opens an interactive shell in a container. It works
like the existing OpenLogin() call, but does not involve getty, and
instead opens an arbitrary command line.

This is similar to "systemd-run -t -M" but is controlled by a specific
PolicyKit privilege.
src/machine/machine-dbus.c
src/machine/machine-dbus.h
src/machine/machined-dbus.c
src/machine/org.freedesktop.machine1.conf
src/machine/org.freedesktop.machine1.policy.in