TMA-SOLARIS-FTP
Ensure the FTP service is disabled
Trung bìnhCấp 1Tự độngsolaris
Mô tả
Legacy remote-access services transmit credentials in clear text. Each SMF instance must be disabled or absent (`svcs -H -o state`); an uninstalled package is compliant.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
command -v svcs >/dev/null 2>&1 || exit 1; r=disabled; for f in svc:/network/ftp:default; do st=$(svcs -H -o state "$f" 2>/dev/null); case "$st" in ''|disabled) ;; *) r="$f:$st" ;; esac; done; echo "$r"- Đầu ra mong đợi
disabled
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
svcadm disable svc:/network/ftp:default (or uninstall the package with pkg uninstall).
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- solarisservices
- Tham chiếu
- CIS Oracle Solaris 11 Benchmark - Disable unnecessary network services (verify section number for your release)
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 solaris