Skip to content
Snippets Groups Projects
Commit 2aa8db96 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that motd gets locked down

parent 4dd8bb7d
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment