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