diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-23 21:28:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 21:28:48 +0100 |
commit | d04c1fb8e215600b4950c6778c6c16ddafc14024 (patch) | |
tree | 796dc9260b6f0419c747a5b115f7307751d354d2 /src/machine/org.freedesktop.machine1.conf | |
parent | 18d703816300790b041c4fd6991e3561aa2704cb (diff) |
machined: introduce polkit for OpenLogin() call
This way "machinectl login" can be opened up to run without privileges.
Diffstat (limited to 'src/machine/org.freedesktop.machine1.conf')
-rw-r--r-- | src/machine/org.freedesktop.machine1.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/machine/org.freedesktop.machine1.conf b/src/machine/org.freedesktop.machine1.conf index bd8fbeff4f..37f84bd6f3 100644 --- a/src/machine/org.freedesktop.machine1.conf +++ b/src/machine/org.freedesktop.machine1.conf @@ -65,6 +65,10 @@ send_member="GetMachineOSRelease"/> <allow send_destination="org.freedesktop.machine1" + send_interface="org.freedesktop.machine1.Manager" + send_member="OpenMachineLogin"/> + + <allow send_destination="org.freedesktop.machine1" send_interface="org.freedesktop.machine1.Machine" send_member="GetAddresses"/> @@ -72,6 +76,10 @@ send_interface="org.freedesktop.machine1.Machine" send_member="GetOSRelease"/> + <allow send_destination="org.freedesktop.machine1" + send_interface="org.freedesktop.machine1.Machine" + send_member="OpenLogin"/> + <allow receive_sender="org.freedesktop.machine1"/> </policy> |