SV-99257r1_rule
V-88607
SRG-OS-000206-GPOS-00084
VROM-SL-000810
CAT II
10
Change the group of the file "/var/log/messages" to "root" by running the following command:
# chgrp root /var/log/messages
Verify that the "/var/log/messages" file is group-owned by "root" by running the following command:
# ls -la /var/log/messages | cut -d' ' -f4
The output must look like the following example:
ls -la /var/log/messages | cut -d' ' -f4
root
If "root" is not returned as a result, this is a finding.
V-88607
False
VROM-SL-000810
Verify that the "/var/log/messages" file is group-owned by "root" by running the following command:
# ls -la /var/log/messages | cut -d' ' -f4
The output must look like the following example:
ls -la /var/log/messages | cut -d' ' -f4
root
If "root" is not returned as a result, this is a finding.
M
3461