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 dnf 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 Templates

A Puppet Snippet

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

An Ansible Snippet

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

script:kickstart

package install vsftpd

OS Build Blueprint

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

script:bootc

dnf install vsftpd

Anaconda Pre-Install Instructions

package --add=vsftpd

A Shell Script

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