Uninstall the nis package
An XCCDF Rule
Description
The support for Yellowpages should not be installed unless it is required.
Rationale
NIS is the historical SUN service for central account management, more and more replaced by LDAP. NIS does not support efficiently security constraints, ACL, etc. and should not be used.
- ID
- xccdf_org.ssgproject.content_rule_package_nis_removed
- Severity
- Low
- References
- Updated
Remediation - Ansible
- name: Ensure nis is removed
package:
name: nis
state: absent
tags:
- disable_strategy
Remediation - Puppet
include remove_nis
class remove_nis {
package { 'nis':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove nis
# from the system, and may remove any packages
# that depend on nis. Execute this
# remediation AFTER testing on a non-production
# system!