AlmaLinux OS 9 must not have the ypserv package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-269355SRG-OS-000095-GPOS-00049ALMA-09-031150SV-269355r1050238_rule2025-02-201
Description
The NIS service provides an unencrypted authentication service, which does not provide for the confidentiality and integrity of user passwords or the remote session. Removing the "ypserv" package decreases the risk of the accidental (or intentional) activation of NIS or NIS+ services.
ℹ️ Check
Verify that the ypserv package is not installed with the following command: $ dnf list --installed ypserv Error: No matching Packages to list If the "ypserv" package is installed, this is a finding.
✔️ Fix
Remove the nfs-utils package with the following command: $ dnf remove ypserv