ROS (Robot Operating System)
TMA-ROS1-1.5.3
Ensure authentication required for single user mode
中レベル 1自動ros
説明
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.
チェック方法
監査方法: シェルコマンド
shell
[ -r /etc/shadow ] || exit 1
grep -Eq '^root:[*!]:' /etc/shadow && echo 'root has no password (single-user mode unprotected)' || echo compliant- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Run the following command and follow the prompts to set a password for the root user: # passwd root
プロパティ
- オペレーティングシステム
- すべて
- タグ
- rosros1melodicsystem
- 参照
- CIS ROS Melodic Benchmark v1.0.0 - 1.5.3 Ensure authentication required for single user mode
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target ros