Core Update 183: Fix permissions of /etc/sudoers.d/, again

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2024-01-16 12:36:50 +00:00
parent 601664309b
commit 254dcbaac8

View 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