From 3e78138b0b5879f8f574813f18dfba9341bbb792 Mon Sep 17 00:00:00 2001 From: guoxiaoqi Date: Fri, 21 Feb 2020 17:37:10 +0800 Subject: [PATCH] allow users to use sudo command by default --- security-tool.spec | 7 +++++-- security.conf | 2 -- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/security-tool.spec b/security-tool.spec index 02a877c..4bd87c3 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.42 +Release: 1.43 Source0: %{name}-%{version}.tar.bz2 Source1: security Source2: security.conf @@ -124,7 +124,10 @@ fi %attr(0500,root,root) %{_sbindir}/security-tool.sh %changelog -* Wed Jan 22 2020 openEuler Buildteam - 2.0-1.41 +* Fri Feb 21 2020 openEuler Buildteam - 2.0-1.43 +- Allow wheel group to use sudo by default + +* Wed Jan 22 2020 openEuler Buildteam - 2.0-1.42 - Fix problems of script caused by "*" and multiple spaces * Wed Jan 22 2020 openEuler Buildteam - 2.0-1.41 diff --git a/security.conf b/security.conf index fa80094..6819d2e 100644 --- a/security.conf +++ b/security.conf @@ -201,8 +201,6 @@ ######################################################################## 401@m@/usr/lib/systemd/system/openEuler-security.service@Wants=@NetworkManager.service -401@d@/etc/sudoers@%wheel - #del SHA1 pem 402@rm -f @/etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem