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 zypper remove 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 - Ansible
- name: Ensure bind is removed
package:
name: bind
state: absent
tags:
- CCE-91642-9
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!