TMAegis
apache 관련 규칙 더 보기

TMA-APACHE-3.9

Ensure the Pid File Is Secured

보통레벨 1수동 검토apache

설명

The PidFile directive sets the file path to the process ID file to which the server records the process id of the server, which is useful for sending a signal to the server process or for checking on the health of the process. Manual review: the benchmark gives no reliable automated check for this control.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

1. Find the directory in which the PidFile would be created. The default value is the ServerRoot/logs directory. 2. Verify that the process ID file directory is not a directory within the Apache DocumentRoot 3. Verify that the ownership and group of the directory is root:root (or the user under which Apache initially starts up if not root). 4. Verify the permissions on the directory are only writable by root (or the startup user if not root).

조치 방법

조치 방식: 가이드 또는 인프라 패치

1. Find the directory in which the PidFile would be created. The default value is the ServerRoot/logs directory. 2. Modify the directory if the PidFile is in a directory within the Apache `DocumentRoot'. 3. Change the ownership and group to be root:root, if not already. 4. Change the permissions so that the directory is only writable by root, or the user under which Apache initially starts up (default is root).

속성

운영 체제
모두
태그
apacheaccounts
참고 자료
CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 3.9 Ensure the Pid File Is Secured