Uninstall vsftpd Package
An XCCDF Rule
Description
Thevsftpd
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 Templates
Anaconda Pre-Install Instructions
package --remove=vsftpd
An Ansible Snippet
- name: Ensure vsftpd is removed
package:
name: vsftpd
state: absent
tags:
- DISA-STIG-RHEL-07-040690
A 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!
A Puppet Snippet
include remove_vsftpd
class remove_vsftpd {
package { 'vsftpd':
ensure => 'purged',
}
}