Uninstall bind Package
An XCCDF Rule
Description
The named
service is provided by the bind
package.
The bind
package can be removed with the following command:
$ sudo yum erase bind
Rationale
If there is no need to make DNS server software available, removing it provides a safeguard against its activation.
- ID
- xccdf_org.ssgproject.content_rule_package_bind_removed
- Severity
- Low
- References
- Updated
Remediation - Puppet
include remove_bind
class remove_bind {
package { 'bind':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove bind
# from the system, and may remove any packages
# that depend on bind. Execute this
# remediation AFTER testing on a non-production
# system!
Remediation - Ansible
- name: Ensure bind is removed
package:
name: bind
state: absent
tags:
- NIST-800-53-CM-6(a)