SV-258831r958564_rule
V-258831
SRG-OS-000205-GPOS-00083
PHTN-40-000073
CAT II
10
At the command line, run the following commands:
# chown root:root /var/log
# chmod 0755 /var/log
At the command line, run the following command to verify permissions on the /var/log directory:
# stat -c "%n is owned by %U and group owned by %G with permissions of %a" /var/log
Expected result:
/var/log is owned by root and group owned by root with permissions of 755
If the /var/log directory is not owned by root, this is a finding.
If the /var/log directory is not group owned by root, this is a finding.
If the /var/log directory permissions are not set to 0755 or less, this is a finding.
V-258831
False
PHTN-40-000073
At the command line, run the following command to verify permissions on the /var/log directory:
# stat -c "%n is owned by %U and group owned by %G with permissions of %a" /var/log
Expected result:
/var/log is owned by root and group owned by root with permissions of 755
If the /var/log directory is not owned by root, this is a finding.
If the /var/log directory is not group owned by root, this is a finding.
If the /var/log directory permissions are not set to 0755 or less, this is a finding.
M
5569