Oracle Solaris
TMA-SOLARIS-FTP
Ensure the FTP service is disabled
MittelStufe 1Automatisiertsolaris
Beschreibung
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.
So wird geprüft
Prüfmethode: Shell-Befehl
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"- Erwartete Ausgabe
disabled
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
svcadm disable svc:/network/ftp:default (or uninstall the package with pkg uninstall).
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- solarisservices
- Referenz
- CIS Oracle Solaris 11 Benchmark - Disable unnecessary network services (verify section number for your release)
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
shell
tmaegis scan --target solaris