ROS (Robot Operating System)
TMA-ROS1-1.5.3
Ensure authentication required for single user mode
Trung bìnhCấp 1Tự độngros
Mô tả
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ách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
[ -r /etc/shadow ] || exit 1
grep -Eq '^root:[*!]:' /etc/shadow && echo 'root has no password (single-user mode unprotected)' || echo compliant- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Run the following command and follow the prompts to set a password for the root user: # passwd root
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- rosros1melodicsystem
- Tham chiếu
- CIS ROS Melodic Benchmark v1.0.0 - 1.5.3 Ensure authentication required for single user mode
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target ros