SV-230245r627750_rule
V-230245
SRG-OS-000206-GPOS-00084
RHEL-08-010210
CAT II
10
Change the permissions of the file "/var/log/messages" to "0640" by running the following command:
$ sudo chmod 0640 /var/log/messages
Verify that the "/var/log/messages" file has mode "0640" or less permissive with the following command:
$ sudo stat -c "%a %n" /var/log/messages
640 /var/log/messages
If a value of "0640" or less permissive is not returned, this is a finding.
V-230245
False
RHEL-08-010210
Verify that the "/var/log/messages" file has mode "0640" or less permissive with the following command:
$ sudo stat -c "%a %n" /var/log/messages
640 /var/log/messages
If a value of "0640" or less permissive is not returned, this is a finding.
M
2921