Uninstall vsftpd Package
An XCCDF Rule
Description
The vsftpd
package can be removed with the following command:
$ sudo zypper remove 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 - 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!
Remediation - Ansible
- name: Ensure vsftpd is removed
package:
name: vsftpd
state: absent
tags:
- CCE-85700-3