From 0e4d73a7ded23e8b5a76d58bd5b448dd9e884ef9 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 29 Sep 2013 19:23:42 +0100 Subject: Convert to polkit from usermode consolehelper for gaining root privileges polkit is better integrated into various environments, both console and GUI and offers better access rules and prevents the internal need to run su which is prone to errors and doesn't offer an environment agnostic prompt to the user. In this case the current package policy (in rpm spec) has been migrated here and is as follows: draknetcenter requires authentication as the current user. Everything else require authentication as an administrator. --- polkit/policy/org.mageia.drakids.policy.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 polkit/policy/org.mageia.drakids.policy.in (limited to 'polkit/policy/org.mageia.drakids.policy.in') diff --git a/polkit/policy/org.mageia.drakids.policy.in b/polkit/policy/org.mageia.drakids.policy.in new file mode 100644 index 0000000..de0647d --- /dev/null +++ b/polkit/policy/org.mageia.drakids.policy.in @@ -0,0 +1,22 @@ + + + + + Mageia + http://www.mageia.org/ + + + <_description>Run Mageia IDS Configuration + <_message>Authentication is required to run Mageia IDS Configuration + drakconf + + no + no + auth_admin_keep + + /usr/libexec/drakids + true + + -- cgit v1.2.1