The AIX global initialization files must contain the mesg -n or mesg n commands.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-215342 | SRG-OS-000480-GPOS-00227 | AIX7-00-003036 | SV-215342r991589_rule | 2024-08-16 | 3 |
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. |
ℹ️ Check |
---|
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 |
---|
Edit the global initialization files that do not contain "mesg n" command and add the following line to the initialization files: mesg n |