4.7.2.8 /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/benchmarks/13069

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND SERVICES ACQUISITION

References: 800-53|CM-2, 800-53|CM-6, 800-53|CM-7, 800-53|CM-7(1), 800-53|CM-9, 800-53|SA-3, 800-53|SA-8, 800-53|SA-10, CSCv7|5.1

Plugin: Unix

Control ID: 4ea79c353dfa4bcdf5a81d28357fe6b2cef6ec30416e1bd10813ac3c20168078