1.249 ALMA-09-031150

Information

AlmaLinux OS 9 must not have the ypserv package installed.

GROUP ID: V-269355
RULE ID: SV-269355r1155253

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.

Solution

Remove the ypserv package with the following command:

$ dnf remove ypserv

See Also

https://workbench.cisecurity.org/benchmarks/27039