UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The AIX global initialization files must contain the mesg -n or mesg n commands.


Overview

Finding ID Version Rule ID IA Controls Severity
V-91631 AIX7-00-003036 SV-101729r1_rule Medium
Description
Command "mesg -n" allows only the root user the permission to send messages to your workstation to avoid having others clutter your display with incoming messages.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2020-02-24

Details

Check Text ( C-90785r4_chk )
Check global initialization files for the presence of "mesg n" command by running:

# grep "mesg" /etc/profile /etc/environment /etc/security/environ /etc/security/.profile /etc/csh.login /etc/csh.cshrc
/etc/profile:mesg n
/etc/environment:mesg n

If any global initialization file does not contain "mesg n", or it contains the "mesg y" command, this is a finding.
Fix Text (F-97829r1_fix)
Edit the global initialization files that do not contain "mesg n" command and add the following line to the initialization files:
mesg n