Remove NIS Client
An XCCDF Rule
Description
The Network Information Service (NIS), formerly known as Yellow Pages,
is a client-server directory service protocol used to distribute system configuration
files. The NIS client (ypbind
) was used to bind a system to an NIS server
and receive the distributed configuration files.
Rationale
The NIS service is inherently an insecure system that has been vulnerable to DOS attacks, buffer overflows and has poor authentication for querying NIS maps. NIS generally has been replaced by such protocols as Lightweight Directory Access Protocol (LDAP). It is recommended that the service be removed.
- ID
- xccdf_org.ssgproject.content_rule_package_ypbind_removed
- Severity
- Unknown
- References
- Updated
Remediation - Ansible
- name: Ensure ypbind-mt is removed
package:
name: ypbind-mt
state: absent
tags:
- PCI-DSSv4-2.2.4
Remediation - Puppet
include remove_ypbind-mt
class remove_ypbind-mt {
package { 'ypbind-mt':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove ypbind-mt
# from the system, and may remove any packages
# that depend on ypbind-mt. Execute this
# remediation AFTER testing on a non-production
# system!