Uninstall cyrus-imapd Package
An XCCDF Rule
Description
The cyrus-imapd
package can be removed with the following command:
$ sudo yum erase cyrus-imapd
Rationale
If there is no need to make the cyrus-imapd software available, removing it provides a safeguard against its activation.
- ID
- xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed
- Severity
- Unknown
- References
- Updated
Remediation - Anaconda Pre-Install Instructions
package --remove=cyrus-imapd
Remediation - Ansible
- name: Ensure cyrus-imapd is removed
package:
name: cyrus-imapd
state: absent
tags:
- disable_strategy
Remediation - Puppet
include remove_cyrus-imapd
class remove_cyrus-imapd {
package { 'cyrus-imapd':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove cyrus-imapd
# from the system, and may remove any packages
# that depend on cyrus-imapd. Execute this
# remediation AFTER testing on a non-production
# system!