3.7.2.6 /etc/motd

Information

The /etc/motd file contains the message of the day, shown after successful initial login.

Rationale:

The /etc/motd file contains the message of the day, shown after successful initial login. The file should only be editable by its owner.

Solution

Apply the appropriate permissions to /etc/motd:

chown bin:bin /etc/motd
chmod u=rw,go=r /etc/motd

Default Value:

644

See Also

https://workbench.cisecurity.org/files/4119

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 08bbc48bcf0442e6a62fd7cff9b68996c65d1212a22284248902b618ec4dc0c1