Oracle Solaris
TMA-SOLARIS-FTP
Ensure the FTP service is disabled
中等級 1自動化solaris
說明
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.
檢查方式
稽核方法: 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"- 預期輸出
disabled
修補方式
修補方法: 操作指南或基礎設施修補檔
svcadm disable svc:/network/ftp:default (or uninstall the package with pkg uninstall).
屬性
- 作業系統
- 不限
- 標籤
- solarisservices
- 參考資料
- CIS Oracle Solaris 11 Benchmark - Disable unnecessary network services (verify section number for your release)
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target solaris