12 Star 0 Fork 14

src-openEuler/setroubleshoot

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Fix-config-file-to-deny-noraml-user-to-stop-Setroubleshootd.patch 1.31 KB
Copy Edit Raw Blame History
From bf6d97e7f14bdefb7e9e889ae29e29b0d8484a16 Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Tue, 15 Dec 2020 14:14:57 +0800
Subject: [PATCH] Fix config file to deny noraml user to stop Setroubleshootd.
---
org.fedoraproject.Setroubleshootd.conf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/org.fedoraproject.Setroubleshootd.conf b/org.fedoraproject.Setroubleshootd.conf
index 65a0daa..fe0e2f4 100644
--- a/org.fedoraproject.Setroubleshootd.conf
+++ b/org.fedoraproject.Setroubleshootd.conf
@@ -9,12 +9,15 @@
</policy>
<policy user="root">
<allow send_destination="org.fedoraproject.Setroubleshootd"/>
+ <allow send_destination="org.fedoraproject.Setroubleshootd"
+ send_interface="org.fedoraproject.SetroubleshootdIface"
+ send_member="finish"/>
</policy>
<policy context="default">
<allow send_destination="org.fedoraproject.Setroubleshootd"
send_interface="org.fedoraproject.SetroubleshootdIface"
send_member="start"/>
- <allow send_destination="org.fedoraproject.Setroubleshootd"
+ <deny send_destination="org.fedoraproject.Setroubleshootd"
send_interface="org.fedoraproject.SetroubleshootdIface"
send_member="finish"/>
<allow send_destination="org.fedoraproject.Setroubleshootd"
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/setroubleshoot.git
git@gitee.com:src-openeuler/setroubleshoot.git
src-openeuler
setroubleshoot
setroubleshoot
openEuler-20.03-LTS

Search