Uninstall tftp-server Package
An XCCDF Rule
Description
The tftp-server
package can be removed with the following command:
$ sudo yum erase tftp-server
Rationale
Removing the tftp-server
package decreases the risk of the accidental
(or intentional) activation of tftp services.
If TFTP is required for operational support (such as transmission of router
configurations), its use must be documented with the Information Systems
Securty Manager (ISSM), restricted to only authorized personnel, and have
access control rules established.
- ID
- xccdf_org.ssgproject.content_rule_package_tftp-server_removed
- Severity
- High
- References
- Updated
Remediation - Anaconda Pre-Install Instructions
package --remove=tftp-server
Remediation - Ansible
- name: Ensure tftp-server is removed
package:
name: tftp-server
state: absent
tags:
- CCE-82436-7
Remediation - Puppet
include remove_tftp-server
class remove_tftp-server {
package { 'tftp-server':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove tftp-server
# from the system, and may remove any packages
# that depend on tftp-server. Execute this
# remediation AFTER testing on a non-production
# system!