Skip to content

Install vsftpd Package

An XCCDF Rule

Description

If this system must operate as an FTP server, install the vsftpd package via the standard channels. The vsftpd package can be installed with the following command:

$ sudo yum install vsftpd

Rationale

After Red Hat Enterprise Linux 2.1, Red Hat switched from distributing wu-ftpd with Red Hat Enterprise Linux to distributing vsftpd. For security and for consistency with future Red Hat releases, the use of vsftpd is recommended.

ID
xccdf_org.ssgproject.content_rule_package_vsftpd_installed
Severity
Low
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --add=vsftpd

Remediation - OS Build Blueprint


[[packages]]
name = "vsftpd"
version = "*"

Remediation - Ansible

- name: Ensure vsftpd is installed
  package:
    name: vsftpd
    state: present
  tags:
  - NIST-800-53-CM-6(a)

Remediation - Puppet

include install_vsftpd

class install_vsftpd {
  package { 'vsftpd':
    ensure => 'installed',
  }

Remediation - Shell Script


if ! rpm -q --quiet "vsftpd" ; then
    yum install -y "vsftpd"
fi