TMAegis
Plus de règles pour solaris

TMA-SOLARIS-2.9

Disable NIS Server Services

ÉlevéeNiveau 1Automatiséesolaris

Description

The NIS server software is not installed by default and is only required on systems that are acting as an NIS server for the local site. Typically, there are only a small number of NIS servers on any given network. These services are disabled by default unless the system has been previously configured to act as a NIS server. Audit: `svcs -Ho state` must report disabled; a service that is not installed is compliant. If LDAP is not used, also confirm svc:/network/nis/domain is disabled.

Méthode de vérification

Méthode d'audit: Commande shell

shell
command -v svcs >/dev/null 2>&1 || exit 1; r=compliant; for f in svc:/network/nis/server; do st=$(svcs -Ho state "$f" 2>/dev/null); case "$st" in ''|disabled) ;; *) r="$f: $st";; esac; done; echo "$r"
Sortie attendue
compliant

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

svcadm disable svc:/network/nis/server

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
solarisservices
Référence
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 2.9 Disable NIS Server Services

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target solaris