TMA-COS-6.1.5
Ensure permissions on /etc/passwd- are configured
낮음레벨 2수동 검토cos
설명
The /etc/passwd- file contains backup user account information. It is critical to ensure that the /etc/passwd- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
Run the following command and verify Uid and Gid are both 0/root and Access is 644 or more restrictive: # stat /etc/passwd- Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
조치 방법
조치 방식: 가이드 또는 인프라 패치
Run the following command to set permissions on /etc/passwd- : # chown root:root /etc/passwd- # chmod u-x,go-wx /etc/passwd-
속성
- 운영 체제
- 모두
- 태그
- access-controlcontainer-optimized-oscos
- 참고 자료
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.1.5 Ensure permissions on /etc/passwd- are configured