]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 183: Fix permissions of /etc/sudoers.d/, again
authorPeter Müller <peter.mueller@ipfire.org>
Tue, 16 Jan 2024 12:36:50 +0000 (12:36 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 16 Jan 2024 12:36:50 +0000 (12:36 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/183/update.sh

index e16d2bab840239f43b62566891ecb52a5f85aa51..3312608bc22f08a9c5ddae0472bfda0800220a55 100644 (file)
@@ -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