TMAegis
freebsd 관련 규칙 더 보기

TMA-FREEBSD-4.3.1

Ensure sudo is installed

높음레벨 1자동freebsd

설명

sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. The invoking user's real (not effective) user ID is used to determine the user name with which to query the security policy. sudo supports a plug-in architecture for security policies and input/output logging. Third parties can develop and distribute their own policy and I/O logging plug-ins to work seamlessly with the sudo front end. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

점검 방법

감사 방식: 셸 명령

shell
command -v pkg >/dev/null 2>&1 || exit 1; pkg info -e sudo && echo compliant || echo "sudo is not installed"
예상 출력
compliant

조치 방법

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

pkg install sudo

속성

운영 체제
모두
태그
freebsdservices
참고 자료
CIS FreeBSD 14 Benchmark v1.0.1 - 4.3.1 Ensure sudo is installed

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target freebsd