Ensure that motd gets locked down
This commit is contained in:
parent
4dd8bb7df8
commit
2aa8db9684
|
@ -646,6 +646,8 @@ function lockdown_permissions {
|
||||||
chmod -R 600 /etc/letsencrypt
|
chmod -R 600 /etc/letsencrypt
|
||||||
chmod -R g=rX /etc/letsencrypt
|
chmod -R g=rX /etc/letsencrypt
|
||||||
fi
|
fi
|
||||||
|
chown -f root:root /etc/motd /etc/issue*
|
||||||
|
chmod -f 0444 /etc/motd /etc/issue*
|
||||||
}
|
}
|
||||||
|
|
||||||
function disable_core_dumps {
|
function disable_core_dumps {
|
||||||
|
|
Loading…
Reference in New Issue