From d3b0995eee70caf3e5e96d8d127159069db0fe66 Mon Sep 17 00:00:00 2001 From: guoxiaoqi Date: Wed, 22 Jan 2020 14:25:08 +0800 Subject: [PATCH] fix the problem of dbus-daemon-launch-helper's group --- security-tool.spec | 9 ++++++--- security.conf | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/security-tool.spec b/security-tool.spec index 823594f..b0179dc 100644 --- a/security-tool.spec +++ b/security-tool.spec @@ -1,7 +1,7 @@ Summary: openEuler Security Tool Name : security-tool Version: 2.0 -Release: 1.40 +Release: 1.41 Source0: %{name}-%{version}.tar.bz2 Source1: security Source2: security.conf @@ -11,7 +11,7 @@ Source5: usr-security.conf License: Mulan PSL v1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: bash setup pam util-linux binutils sudo crontabs cronie -Requires: shadow initscripts ca-certificates openssh rsyslog +Requires: shadow initscripts ca-certificates openssh rsyslog dbus-daemon Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units @@ -124,7 +124,10 @@ fi %attr(0500,root,root) %{_sbindir}/security-tool.sh %changelog -* Sun Jan 12 2019 openEuler Buildteam - 2.0-1.40 +* Wed Jan 22 2020 openEuler Buildteam - 2.0-1.41 +- Fix the problem of dbus-daemon-launch-helper's group + +* Sun Jan 12 2020 openEuler Buildteam - 2.0-1.40 - Delete password-auth-local and system-auth-local * Sun Dec 29 2019 openEuler Buildteam - 2.0-1.39 diff --git a/security.conf b/security.conf index 5bfb297..5f198f2 100644 --- a/security.conf +++ b/security.conf @@ -219,3 +219,6 @@ #set LOG_UNKFAIL_ENAB to no 622@m@/etc/login.defs@LOG_UNKFAIL_ENAB @no +#fix the problem of dbus-daemon-launch-helper's group +700@chown root:dbus @/usr/libexec/dbus-1/dbus-daemon-launch-helper +700@chmod 4750 @/usr/libexec/dbus-1/dbus-daemon-launch-helper -- Gitee