TMA-SOLARIS-FTP
Ensure the FTP service is disabled
MediumLevel 1Automatedsolaris
Description
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.
How it is checked
Audit method: Shell command
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"- Expected output
disabled
How it is fixed
Fix method: Guidance or infrastructure patch
svcadm disable svc:/network/ftp:default (or uninstall the package with pkg uninstall).
Properties
- Operating systems
- Any
- Tags
- solarisservices
- Reference
- CIS Oracle Solaris 11 Benchmark - Disable unnecessary network services (verify section number for your release)
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
shell
tmaegis scan --target solaris