TMAegisБета
Више правила за linux

Linux distributions

TMA-ALINUX3-2.2.5

Ensure tftp client is not installed

СредњаНиво 1Аутоматскаlinux

Опис

Trivial File Transfer Protocol (TFTP) is a simple protocol for exchanging files between two TCP/IP machines. TFTP servers allow connections from a TFTP Client for sending and receiving files.

Како се проверава

Метод провере: Команда љуске

shell
alt0() { command -v rpm >/dev/null 2>&1 || { echo "step1: rpm not installed"; return 1; }; o=$(bash -c 'rpm -q tftp' 2>&1); printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'package tftp is not installed' || { echo step1: missing 'package tftp is not installed'; return 1; }; }; if alt0; then echo compliant; fi
Очекивани излаз
compliant

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Run the following command to remove tftp: # dnf remove tftp

Својства

Оперативни системи
alinux-3
Ознаке
cis-convertedlinux
Референца
CIS Alibaba Cloud Linux 3 Benchmark v2.0.0 - 2.2.5

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target linux