7.8 Set 'mesg n' as Default for All Users in /etc/profile

Information

The 'mesg n' command blocks attempts to use the write or talk commands to contact users at their terminals, but has the side effect of slightly strengthening permissions on the user's tty device.

Note - Setting mesg n for all users may cause 'mesg- cannot change mode' to be displayed when using su - <user>.

Solution

Please refer to the remediation steps on page 108 of the CIS document.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|3.1

Plugin: Unix

Control ID: be629557053358ceda403b2f1915c4cc995b8687dc420b771a8dc87887981a0d