TMAegis
Plus de règles pour freebsd

FreeBSD

TMA-FREEBSD-4.3.1

Ensure sudo is installed

ÉlevéeNiveau 1Automatiséefreebsd

Description

sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. The invoking user's real (not effective) user ID is used to determine the user name with which to query the security policy. sudo supports a plug-in architecture for security policies and input/output logging. Third parties can develop and distribute their own policy and I/O logging plug-ins to work seamlessly with the sudo front end. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

Méthode de vérification

Méthode d'audit: Commande shell

shell
command -v pkg >/dev/null 2>&1 || exit 1; pkg info -e sudo && echo compliant || echo "sudo is not installed"
Sortie attendue
compliant

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

pkg install sudo

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
freebsdservices
Référence
CIS FreeBSD 14 Benchmark v1.0.1 - 4.3.1 Ensure sudo is installed

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target freebsd