TMAegisBeta
Más reglas para ros

ROS (Robot Operating System)

TMA-ROS1-1.5.3

Ensure authentication required for single user mode

MediaNivel 1Automatizadaros

Descripción

Single user mode is used for recovery when the system detects an issue during boot or by manual selection from the bootloader. The audit requires the root account to have a password set in /etc/shadow, so single-user mode asks for it. Host-level control from the CIS ROS Melodic benchmark (Ubuntu 18.04 robot hosts); run as root.

Cómo se verifica

Método de auditoría: Comando de shell

shell
[ -r /etc/shadow ] || exit 1
grep -Eq '^root:[*!]:' /etc/shadow && echo 'root has no password (single-user mode unprotected)' || echo compliant
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Run the following command and follow the prompts to set a password for the root user: # passwd root

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
rosros1melodicsystem
Referencia
CIS ROS Melodic Benchmark v1.0.0 - 1.5.3 Ensure authentication required for single user mode

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target ros