SV-230247r627750_rule
V-230247
SRG-OS-000206-GPOS-00084
RHEL-08-010230
CAT II
10
Change the group of the file "/var/log/messages" to "root" by running the following command:
$ sudo chgrp root /var/log/messages
Verify the "/var/log/messages" file is group-owned by root with the following command:
$ sudo stat -c "%G" /var/log/messages
root
If "root" is not returned as a result, this is a finding.
V-230247
False
RHEL-08-010230
Verify the "/var/log/messages" file is group-owned by root with the following command:
$ sudo stat -c "%G" /var/log/messages
root
If "root" is not returned as a result, this is a finding.
M
2921