4.1.1.4 Ensure access on /etc/motd is configured

Information

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

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

See Also

https://workbench.cisecurity.org/benchmarks/10385

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: 73c32250275d8d605a4d3cee133e7f7ffa19f62343de78e77306c8183a8ae316