TMAegis베타
yugabytedb 관련 규칙 더 보기

YugabyteDB

TMA-YUGABYTEDB-4.1

Ensure sudo is configured correctly

보통레벨 1수동 검토yugabytedb

설명

It is common to have more than one authorized individual administering the YugabyteDB service at the Operating System level. It is also quite common to permit login privileges to individuals on a YugabyteDB host who otherwise are not authorized to access the server's data cluster and files.

점검 방법

감사 방식: 수동 검토

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

Review /etc/sudoers and /etc/sudoers.d: escalation to the yugabyte account must be granted only to an approved DBA group (e.g. %dba ALL= /bin/su - yugabyte, file mode 600). As a non-member run sudo su - yugabyte (must be refused) and as a DBA group member confirm it succeeds; any broader grant is a finding.

조치 방법

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

As superuser root, execute the following commands: # echo '%dba ALL= /bin/su - yugabyte' > /etc/sudoers.d/yugabyte # chmod 600 /etc/sudoers.d/yugabyte This grants any Operating System user that is a member of the dba group to use sudo su - yugabyte to become the yugabyte user. Ensure that all Operating System user's that need such access are members of the group.

속성

운영 체제
모두
태그
yugabytedbprivileges
참고 자료
CIS YugabyteDB Benchmark v2.0.0 - 4.1 Ensure sudo is configured correctly