SV-33033r1_rule
V-2252
WG250
WG250 A22
CAT II
10
Use the chmod command to set the appropriate file permissions on the log files.
Enter the following command to determine the directory the log files are located in:
grep "ErrorLog" /usr/local/apache2/conf/httpd.conf
grep "CustomLog" /usr/local/apache2/conf/httpd.conf
Verify the permission of the ErrorLog & CustomLog files by entering the following command:
ls -al /usr/local/apache2/logs/*.log
Unix file permissions should be 640 or less for all web log files if not, this is a finding.
V-2252
False
WG250 A22
Enter the following command to determine the directory the log files are located in:
grep "ErrorLog" /usr/local/apache2/conf/httpd.conf
grep "CustomLog" /usr/local/apache2/conf/httpd.conf
Verify the permission of the ErrorLog & CustomLog files by entering the following command:
ls -al /usr/local/apache2/logs/*.log
Unix file permissions should be 640 or less for all web log files if not, this is a finding.
M
Web Administrator
161