Ensure that motd gets locked down

This commit is contained in:
Bob Mottram 2017-09-22 15:40:30 +01:00
parent 4dd8bb7df8
commit 2aa8db9684
1 changed files with 2 additions and 0 deletions

View File

@ -646,6 +646,8 @@ function lockdown_permissions {
chmod -R 600 /etc/letsencrypt
chmod -R g=rX /etc/letsencrypt
fi
chown -f root:root /etc/motd /etc/issue*
chmod -f 0444 /etc/motd /etc/issue*
}
function disable_core_dumps {