1.176 SOL-11.1-070240

Information

The operating system must reveal error messages only to authorized personnel.

GROUP ID: V-216202RULE ID: SV-216202r958566

Proper file permissions and ownership ensures that only designated personnel in the organization can access error messages.

Solution

The root role is required.

Change the permissions and owner on the /var/adm/messages file:

chmod 640 /var/adm/messageschown root /var/adm/messageschgrp root /var/adm/messages

Change the permissions and owner on the /var/adm directory:

chmod 750 /var/admchown root /var/admchgrp sys /var/adm

See Also

https://workbench.cisecurity.org/benchmarks/23873