diff options
Diffstat (limited to 'debian/com.ubuntu.zenmap.policy')
-rw-r--r-- | debian/com.ubuntu.zenmap.policy | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/com.ubuntu.zenmap.policy b/debian/com.ubuntu.zenmap.policy new file mode 100644 index 0000000..2158f2a --- /dev/null +++ b/debian/com.ubuntu.zenmap.policy @@ -0,0 +1,20 @@ +<?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> + + <vendor>The Nmap Project</vendor> + <vendor_url>https://nmap.org/</vendor_url> + <icon_name>zenmap</icon_name> + <action id="com.ubuntu.zenmap"> + <message gettext-domain="zenmap">Authentication is required for some Nmap features to work</message> + <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/zenmap</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + +</policyconfig> |