mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-09 22:27:08 +00:00
Add org.selinux.config.selinux.policy for use with policykit and pk_exec
This commit is contained in:
parent
678de8fda2
commit
0ebf819eb9
22
policycoreutils/gui/org.selinux.config.selinux.policy
Normal file
22
policycoreutils/gui/org.selinux.config.selinux.policy
Normal file
@ -0,0 +1,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/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<vendor>System Config SELinux</vendor>
|
||||
<vendor_url>http://fedorahosted.org/system-config-selinux</vendor_url>
|
||||
|
||||
<action id="org.selinux.config.pkexec.run">
|
||||
<description>Run System Config SELinux</description>
|
||||
<message>Authentication is required to run system-config-selinux</message>
|
||||
<icon_name>system-selinux</icon_name>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/share/system-config-selinux/system-config-selinux.py</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
Loading…
Reference in New Issue
Block a user