SV-33022r1_rule
V-2226
WG210
WG210 A22
CAT II
10
Remove the shares from the applicable directories.
To view the DocumentRoot enter the following command:
grep "DocumentRoot" /usr/local/apache2/conf/httpd.conf
To view the ServerRoot enter the following command:
grep "serverRoot" /usr/local/apache2/conf/httpd.conf
Note the location following the DocumentRoot and ServerRoot directives.
Enter the following commands to determine if file sharing is running:
ps -ef | grep nfs, ps -ef | grep smb
If results are returned, determine the shares and confirm they are not in the same directory as listed above, If they are, this is a finding.
V-2226
False
WG210 A22
To view the DocumentRoot enter the following command:
grep "DocumentRoot" /usr/local/apache2/conf/httpd.conf
To view the ServerRoot enter the following command:
grep "serverRoot" /usr/local/apache2/conf/httpd.conf
Note the location following the DocumentRoot and ServerRoot directives.
Enter the following commands to determine if file sharing is running:
ps -ef | grep nfs, ps -ef | grep smb
If results are returned, determine the shares and confirm they are not in the same directory as listed above, If they are, this is a finding.
M
Web Administrator
161