From 6581fe5bfbad492564f1e786290424e0033234a0 Mon Sep 17 00:00:00 2001 From: Anakin Zhang Date: Fri, 17 Apr 2020 10:34:03 +0800 Subject: [PATCH] Read drop-in files from /etc/sudoers.d --- sudo.spec | 5 ++++- sudoers | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sudo.spec b/sudo.spec index 969380e..f7d3469 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,6 +1,6 @@ Name: sudo Version: 1.8.27 -Release: 4 +Release: 4.h1 Summary: Allows restricted root access for specified users License: ISC URL: http://www.courtesan.com/sudo/ @@ -149,6 +149,9 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i %exclude %{_pkgdocdir}/ChangeLog %changelog +* Fri Apr 17 2020 Anakin Zhang - 1.8.27-4.h1 +- Read drop-in files from /etc/sudoers.d + * Mon Jan 20 2020 openEuler Buildteam - 1.8.27-4 - fix CVE-2019-19232 and CVE-2019-19234 diff --git a/sudoers b/sudoers index ceda3fd..8926b0e 100644 --- a/sudoers +++ b/sudoers @@ -38,3 +38,6 @@ root ALL=(ALL) ALL ## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL + +## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment) +#includedir /etc/sudoers.d -- Gitee