]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 168: Fix permissions of /etc/sudoers.d/
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 2 May 2022 05:38:27 +0000 (05:38 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 2 May 2022 05:38:27 +0000 (05:38 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/168/update.sh

index 7e3ff07c27ca84df38ca5ea8d8d7dc98b240583f..1a1ad44a982609972899455c6c4abac4554d2cfa 100644 (file)
@@ -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