summaryrefslogtreecommitdiff
path: root/community/ettercap/org.archlinux.pkexec.ettercap.policy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-05 00:06:04 -0700
committerroot <root@rshg054.dnsready.net>2013-04-05 00:06:04 -0700
commit3c7a59bfd2b8340068df7dc196e0c9b612b9ef31 (patch)
tree355d93a0286f98e9b5ba02d7e5b840eedb38e2b1 /community/ettercap/org.archlinux.pkexec.ettercap.policy
parent1b6860ed7a33a22c4202348a4f42afbb5d26be09 (diff)
Fri Apr 5 00:06:03 PDT 2013
Diffstat (limited to 'community/ettercap/org.archlinux.pkexec.ettercap.policy')
-rw-r--r--community/ettercap/org.archlinux.pkexec.ettercap.policy18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/ettercap/org.archlinux.pkexec.ettercap.policy b/community/ettercap/org.archlinux.pkexec.ettercap.policy
new file mode 100644
index 000000000..101b11a0f
--- /dev/null
+++ b/community/ettercap/org.archlinux.pkexec.ettercap.policy
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+<action id="com.archlinux.pkexec.ettercap">
+<message gettext-domain="ettercap"> Authentication is required to run the Ettercap</message>
+<icon_name>ettercap</icon_name>
+<defaults>
+<allow_any > auth_admin < /allow_any>
+<allow_inactive>auth_admin</allow_inactive>
+<allow_active>auth_admin</allow_active>
+</defaults>
+<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/ettercap.elf</annotate>
+<annotate key="org.freedesktop.policykit.exec.allow_gui">true< /annotate>
+</action>
+</policyconfig>