From: Peter Müller Date: Mon, 2 May 2022 05:38:27 +0000 (+0000) Subject: Core Update 168: Fix permissions of /etc/sudoers.d/ X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=2784c87b0e5978a6c49c814625a7e949298b57bb;p=people%2Fteissler%2Fipfire-2.x.git Core Update 168: Fix permissions of /etc/sudoers.d/ Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/168/update.sh b/config/rootfiles/core/168/update.sh index 7e3ff07c2..1a1ad44a9 100644 --- a/config/rootfiles/core/168/update.sh +++ b/config/rootfiles/core/168/update.sh @@ -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