ROS (Robot Operating System)
TMA-ROS1-1.5.3
Ensure authentication required for single user mode
SrednjaNivo 1Automatskaros
Opis
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.
Kako se proverava
Metod provere: Komanda ljuske
shell
[ -r /etc/shadow ] || exit 1
grep -Eq '^root:[*!]:' /etc/shadow && echo 'root has no password (single-user mode unprotected)' || echo compliant- Očekivani izlaz
compliant
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
Run the following command and follow the prompts to set a password for the root user: # passwd root
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- rosros1melodicsystem
- Referenca
- CIS ROS Melodic Benchmark v1.0.0 - 1.5.3 Ensure authentication required for single user mode
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target ros