Uninstall vsftpd Package
An XCCDF Rule
Description
The vsftpd
package can be removed with the following command:
$ sudo yum erase vsftpd
Rationale
Removing the vsftpd
package decreases the risk of its
accidental activation.
- ID
- xccdf_org.ssgproject.content_rule_package_vsftpd_removed
- Severity
- High
- References
- Updated
Remediation - Anaconda Pre-Install Instructions
package --remove=vsftpd
Remediation - Ansible
- name: Ensure vsftpd is removed
package:
name: vsftpd
state: absent
tags:
- NIST-800-53-CM-6(a)
Remediation - Puppet
include remove_vsftpd
class remove_vsftpd {
package { 'vsftpd':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove vsftpd
# from the system, and may remove any packages
# that depend on vsftpd. Execute this
# remediation AFTER testing on a non-production
# system!