TMAegisベータ
ros のその他のルール

ROS (Robot Operating System)

TMA-ROS1-6.2.3

Ensure root is the only UID 0 account

高レベル 1自動ros

説明

Any account with UID 0 has superuser privileges on the system. The audit requires root to be the only UID 0 account. Host-level control from the CIS ROS Melodic benchmark (Ubuntu 18.04 robot hosts); run as root.

チェック方法

監査方法: シェルコマンド

shell
u=$(awk -F: '($3 == 0) {print $1}' /etc/passwd) || exit 1
[ "$u" = root ] && echo compliant || echo "UID 0 accounts: $(printf '%s ' $u)"
期待される出力
compliant

修正方法

修正方法: ガイダンスまたは IaC パッチ

Remove any users other than root with UID 0 or assign them a new UID if appropriate.

プロパティ

オペレーティングシステム
すべて
タグ
rosros1melodicmaintenance
参照
CIS ROS Melodic Benchmark v1.0.0 - 6.2.3 Ensure root is the only UID 0 account

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target ros