srg_requirement: |-
    {{{ full_name }}} must not have the ypserv package installed.

fixtext: |-
    Remove the ypserv package with the following command:

    $ sudo dnf remove ypserv

checktext: |-
    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.

vuldiscussion: |-
    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.
