SV-239721r679273_rule
V-239721
SRG-APP-000118-WSR-000068
VCLD-67-000011
CAT II
10
At the command prompt, enter the following command:
# chown root:root /opt/vmware/var/log/lighttpd/*.log
# chmod 640 /opt/vmware/var/log/lighttpd/*.log
At the command prompt, execute the following command:
# stat -c "%n has %a permissions and is owned by %U:%G" /opt/vmware/var/log/lighttpd/*.log
Expected result:
/opt/vmware/var/log/lighttpd/access.log has 644 permissions and is owned by root:root
/opt/vmware/var/log/lighttpd/error.log has 644 permissions and is owned by root:root
If the output does not match the expected result, this is a finding.
V-239721
False
VCLD-67-000011
At the command prompt, execute the following command:
# stat -c "%n has %a permissions and is owned by %U:%G" /opt/vmware/var/log/lighttpd/*.log
Expected result:
/opt/vmware/var/log/lighttpd/access.log has 644 permissions and is owned by root:root
/opt/vmware/var/log/lighttpd/error.log has 644 permissions and is owned by root:root
If the output does not match the expected result, this is a finding.
M
5335