]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/org.freedesktop.systemd1.policy
systemctl: support remote and privileged systemctl access via SSH and pkexec
[thirdparty/systemd.git] / src / org.freedesktop.systemd1.policy
index bb07b827fcca9216117f64b4500223640dba29af..a9958c2e33a2006c067cad3d43ba075aa3413e58 100644 (file)
                 <annotate key="org.freedesktop.policykit.exec.path">/lib/systemd/systemd-reply-password</annotate>
         </action>
 
+        <action id="org.freedesktop.systemd1.BusAccess">
+                <description>Privileged system and service manager access</description>
+                <message>Authentication is required to access the system and service manager.</message>
+                <defaults>
+                        <allow_any>no</allow_any>
+                        <allow_inactive>no</allow_inactive>
+                        <allow_active>auth_admin_keep</allow_active>
+                </defaults>
+                <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/systemd-stdio-bridge</annotate>
+        </action>
+
 </policyconfig>