TMAegis
postgres 관련 규칙 더 보기

TMA-POSTGRES-4.10

Ensure all accounts that can log in have passwords

높음레벨 1수동 검토postgres

설명

If not using certificate-based authentication, all database accounts that have the ability to login should have a password set.

점검 방법

감사 방식: 수동 검토

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

Run SELECT rolname FROM pg_authid WHERE rolpassword IS NULL AND rolcanlogin; Any returned account that is not known to authenticate with certificates (or peer/GSS) is a potential fail.

조치 방법

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

Set a password for each listed account with \password <user> in psql (ALTER ROLE ... PASSWORD writes the password to logs), or switch it to certificate authentication.

속성

운영 체제
모두
태그
postgresdatabaseauthenticationmanual
참고 자료
CIS PostgreSQL 18 Benchmark v1.0.0 - 4.10 Ensure all accounts that can log in have passwords