SV-100377r1_rule
V-89727
SRG-OS-000206-GPOS-00084
VRAU-SL-000835
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-89727
False
VRAU-SL-000835
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
3459