TMAegisBeta
Thêm quy tắc cho freebsd

FreeBSD

TMA-FREEBSD-4.3.1

Ensure sudo is installed

CaoCấp 1Tự độngfreebsd

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
command -v pkg >/dev/null 2>&1 || exit 1; pkg info -e sudo && echo compliant || echo "sudo is not installed"
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

pkg install sudo

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
freebsdservices
Tham chiếu
CIS FreeBSD 14 Benchmark v1.0.1 - 4.3.1 Ensure sudo is installed

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target freebsd