ROS (Robot Operating System)
TMA-ROS1-1.5.3
Ensure authentication required for single user mode
SedangLevel 1Otomatisros
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah shell
shell
[ -r /etc/shadow ] || exit 1
grep -Eq '^root:[*!]:' /etc/shadow && echo 'root has no password (single-user mode unprotected)' || echo compliant- Output yang diharapkan
compliant
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Run the following command and follow the prompts to set a password for the root user: # passwd root
Properti
- Sistem operasi
- Apa saja
- Tag
- rosros1melodicsystem
- Referensi
- CIS ROS Melodic Benchmark v1.0.0 - 1.5.3 Ensure authentication required for single user mode
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target ros