From: Peter Müller Date: Sat, 17 Feb 2024 20:40:39 +0000 (+0000) Subject: Core Update 185: Ensure correct permissions of /etc/sudoers.d/ X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6336428ef8083719909e944d5785a8f498d7f84d;p=people%2Fstevee%2Fipfire-2.x.git Core Update 185: Ensure correct permissions of /etc/sudoers.d/ Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/185/update.sh b/config/rootfiles/core/185/update.sh index 8671de982..c81b68cab 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