SV-239739r679327_rule
V-239739
SRG-APP-000380-WSR-000072
VCLD-67-000032
CAT II
10
At the command prompt, enter the following command:
# chmod 644 <file>
# chown root:root <file>
Note: Replace <file> with every file returned from the command in the check.
At the command prompt, execute the following command:
# stat -c "%n permissions are %a and ownership is %U:%G" /opt/vmware/etc/lighttpd/lighttpd.conf /etc/applmgmt/appliance/lighttpd.conf
Expected result:
/opt/vmware/etc/lighttpd/lighttpd.conf permissions are 644 and ownership is root:root
/etc/applmgmt/appliance/lighttpd.conf permissions are 644 and ownership is root:root
If the output does not match the expected result, this is a finding.
V-239739
False
VCLD-67-000032
At the command prompt, execute the following command:
# stat -c "%n permissions are %a and ownership is %U:%G" /opt/vmware/etc/lighttpd/lighttpd.conf /etc/applmgmt/appliance/lighttpd.conf
Expected result:
/opt/vmware/etc/lighttpd/lighttpd.conf permissions are 644 and ownership is root:root
/etc/applmgmt/appliance/lighttpd.conf permissions are 644 and ownership is root:root
If the output does not match the expected result, this is a finding.
M
5335