TMAegisBeta
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.4.1.4

Ensure localhost aliases do not exist in /etc/exports

Trung bìnhCấp 1Tự độngaix

Mô tả

Remove any reference to localhost or localhost aliases from /etc/exports. If the RPC portmapper has proxy forwarding enabled, which is a default setting in many vendor versions. Audit: /etc/exports must not reference localhost aliases (SKIP when there is no /etc/exports).

Cách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/etc/exports
Mẫu khớp
(?m)^[^#\n]*\blocalhost\b

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

Remove any reference to localhost or localhost aliases in /etc/exports: Review the content of /etc/exports and check for localhost or localhost aliases: cat /etc/exports NOTE: If instances of localhost or localhost aliases are found, edit the file and remove them. Create a copy of /etc/exports: cp -p /etc/exports /etc/exports.pre_cis Edit the file: vi /etc/exports Edit the relevant NFS exports to remove the localhost access, for example: /nfsexport sec=sys,rw,access=localhost:testserver If /etc/exports is updated, as localhost references have been removed, update the current NFS export options: exportfs -a

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
aixhardening
Tham chiếu
CIS IBM AIX 7 Benchmark v1.2.0 - 4.4.1.4 Ensure localhost aliases do not exist in /etc/exports

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 aix