From 49af9e1368571f4e423cde0fd45ee284451434d1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 23 Aug 2015 13:20:58 +0200 Subject: 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/org.freedesktop.machine1.policy.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/machine/org.freedesktop.machine1.policy.in') diff --git a/src/machine/org.freedesktop.machine1.policy.in b/src/machine/org.freedesktop.machine1.policy.in index 02714e83ae..b3b2fa29c1 100644 --- a/src/machine/org.freedesktop.machine1.policy.in +++ b/src/machine/org.freedesktop.machine1.policy.in @@ -26,6 +26,16 @@ + + <_description>Acquire a shell in a local container + <_message>Authentication is required to acquire a shell in a local container. + + auth_admin + auth_admin + auth_admin_keep + + + <_description>Manage local virtual machines and containers <_message>Authentication is required to manage local virtual machines and containers. -- cgit v1.2.3-54-g00ecf