From 2784c87b0e5978a6c49c814625a7e949298b57bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Mon, 2 May 2022 05:38:27 +0000 Subject: [PATCH] Core Update 168: Fix permissions of /etc/sudoers.d/ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/168/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/168/update.sh b/config/rootfiles/core/168/update.sh index 7e3ff07c2..1a1ad44a9 100644 --- a/config/rootfiles/core/168/update.sh +++ b/config/rootfiles/core/168/update.sh @@ -89,6 +89,10 @@ ldconfig # Apply sysctl changes /etc/init.d/sysctl start +# Fix permissions of /etc/sudoers.d/ +chmod -v 750 /etc/sudoers.d +chmod -v 640 /etc/sudoers.d/* + # Start services /etc/init.d/sshd restart /etc/init.d/vnstatd restart -- 2.39.2