diff --git a/security-tool.spec b/security-tool.spec index bbd5098d2ade9411481abdcaffeedac58ce5d114..7b265342f87a8d9fe20c2930162e882582f5fa9e 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,6 +124,9 @@ fi %attr(0500,root,root) %{_sbindir}/security-tool.sh %changelog +* 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 diff --git a/security.conf b/security.conf index 5bfb29714a53f7d233cac4ab53fea330a8101108..fa800947713ccfdbf801afe9aeb1f0f7e0bea42e 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 +700@chown root:dbus @/usr/libexec/dbus-1/dbus-daemon-launch-helper +700@chmod 4750 @/usr/libexec/dbus-1/dbus-daemon-launch-helper