4.1.1.4 Ensure access on /etc/motd is configured

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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