lowfilesystemverified ✓rollback-safe
Ensure access to /etc/motd is configured
motd-permissions · RHEL ≥ 8 · 1 impl
Description
The /etc/motd file should have appropriate permissions to prevent unauthorized modification of the message of the day.
Rationale
If the /etc/motd file permissions are not restrictive, unauthorized users could modify it to display misleading or malicious information.
Check → Remediate
Checkfile_permission
- path:
- /etc/motd
- mode:
- 0644
- owner:
- root
- group:
- root
Remediatefile_permissions
- path:
- /etc/motd
- mode:
- 0644
- owner:
- root
- group:
- root
Framework references
CIS
rhel9 1.7.4rhel8 1.7.4rhel10 1.7.4
NIST 800-53
AC-3AC-8CM-6
Live verification
rhel10:checkrhel8:checkrhel9:check
#permissions#motd#banner#security