forked from igosnusantara/fedorautils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-as-root.policy
More file actions
22 lines (19 loc) · 810 Bytes
/
run-as-root.policy
File metadata and controls
22 lines (19 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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.0/policyconfig.dtd">
<policyconfig>
<vendor>Run as root</vendor>
<vendor_url>http://folkswithhats.org/</vendor_url>
<icon_name>system-run</icon_name>
<action id="org.folkswithhats.pkexec.run-as-root">
<description>Run command as root</description>
<message>Authentication is required to run command as root.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/share/fedy/bin/run-as-root</annotate>
</action>
</policyconfig>