summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.systemd1.policy
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-17 01:26:29 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-17 01:26:29 +0200
commit490aed584944b684026a3fd01f8d81f2881e38d6 (patch)
tree959f9d1f831752a33ae8ef541fd9e952ce5c2312 /src/org.freedesktop.systemd1.policy
parent1ebdf5b6847b6a52480a6e9382c1cb70f931a535 (diff)
ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user
Diffstat (limited to 'src/org.freedesktop.systemd1.policy')
-rw-r--r--src/org.freedesktop.systemd1.policy30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/org.freedesktop.systemd1.policy b/src/org.freedesktop.systemd1.policy
new file mode 100644
index 0000000000..bb07b827fc
--- /dev/null
+++ b/src/org.freedesktop.systemd1.policy
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
+<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+
+<!--
+ This file is part of systemd.
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+-->
+
+<policyconfig>
+
+ <vendor>The systemd Project</vendor>
+ <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
+
+ <action id="org.freedesktop.systemd1.ReplyPassword">
+ <description>Send passphrase back to system</description>
+ <message>Authentication is required to send the entered passphrase back to the system.</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">/lib/systemd/systemd-reply-password</annotate>
+ </action>
+
+</policyconfig>