Core Update 185: Ensure correct permissions of /etc/sudoers.d/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2024-02-17 20:40:39 +00:00
parent 2038b640e6
commit 6336428ef8

View File

@@ -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