diff --git a/security-tool.spec b/security-tool.spec index 823594fe6c40cd3bd15d27b07aa9451e7333d3b0..b0179dc1eaecace94e24ae5bd7ee4bb3901a7045 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 5bfb29714a53f7d233cac4ab53fea330a8101108..5f198f2e6e9a9027971908dc5f2d4851ab0263d5 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