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