Skip to content

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 Templates

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!

zypper remove -y "vsftpd"

A Puppet Snippet

include remove_vsftpd
class remove_vsftpd {
  package { 'vsftpd':
    ensure => 'purged',
  }
}

An Ansible Snippet

- name: Ensure vsftpd is removed
  package:
    name: vsftpd
    state: absent
  tags:
  - CCE-83226-1