SV-216108r603268_rule
V-216108
SRG-OS-000480
SOL-11.1-040270
CAT III
10
The root role is required.
Edit the default profile configuration files.
# pfedit /etc/profile
# pfedit /etc/.login
In each file add a new line:
mesg n
For each user on the system, enter the command:
# mesg n
Determine if "mesg n" is the default for users.
# grep "^mesg" /etc/.login
# grep "^mesg" /etc/profile
If either of these commands produces a line:
mesg y
this is a finding.
For each existing user on the system, enter the command:
# mesg
If the command output is:
is y
this is a finding.
V-216108
False
SOL-11.1-040270
Determine if "mesg n" is the default for users.
# grep "^mesg" /etc/.login
# grep "^mesg" /etc/profile
If either of these commands produces a line:
mesg y
this is a finding.
For each existing user on the system, enter the command:
# mesg
If the command output is:
is y
this is a finding.
M
4021