From 254dcbaac88865c7f5fbaaa4cf5a846545cf8a0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Tue, 16 Jan 2024 12:36:50 +0000 Subject: [PATCH] Core Update 183: Fix permissions of /etc/sudoers.d/, again MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/183/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/183/update.sh b/config/rootfiles/core/183/update.sh index e16d2bab84..3312608bc2 100644 --- a/config/rootfiles/core/183/update.sh +++ b/config/rootfiles/core/183/update.sh @@ -115,6 +115,10 @@ ldconfig # Apply local configuration to sshd_config /usr/local/bin/sshctrl +# Fix permissions of /etc/sudoers.d/ +chmod -v 750 /etc/sudoers.d +chmod -v 640 /etc/sudoers.d/* + # Start services /etc/rc.d/init.d/apache start if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then -- 2.39.5