From 6336428ef8083719909e944d5785a8f498d7f84d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Sat, 17 Feb 2024 20:40:39 +0000 Subject: [PATCH] Core Update 185: Ensure correct 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/185/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/185/update.sh b/config/rootfiles/core/185/update.sh index 8671de9827..c81b68cab3 100644 --- a/config/rootfiles/core/185/update.sh +++ b/config/rootfiles/core/185/update.sh @@ -51,6 +51,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 telinit u /etc/init.d/suricata restart -- 2.47.3