IBM AIX
TMA-AIX-4.4.1.5
Ensure NFS exports use allow lists
Mô tả
Only allow explicitly defined host access to NFS exported filesystems and directories. The NFS server should be configured to only allow explicitly defined hosts to mount filesystems from the server. 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
command -v showmount >/dev/null 2>&1 || exit 1; n=$(showmount -e 2>/dev/null | grep -c "(everyone)"); echo "$n"- Đầu ra mong đợi
0
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
Ensure that all exports defined in /etc/exports have explicit client access options which clearly define the host or hosts allowed access: Review the content of /etc/exports and that all exports have explicit access lists: showmount -e | grep "(everyone)" Ensure that each NFS export has an explicit access line, for example, modify: /export/repo (everyone) to: /export/repo x071 The option -c is used to specify clients permitted access: chnfsexp -d /export/repo -c x071
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- aixnetwork
- Tham chiếu
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.4.1.5 Ensure NFS exports use allow lists
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.
tmaegis scan --target aix --level 2