TMA-AIX-3.5
Ensure there are no group staff writable files
中レベル 1自動aix
説明
The system is audited for group staff writable files. An audit should be performed on the system to search for files that can be modified by members of the group staff. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.
チェック方法
監査方法: シェルコマンド
shell
command -v find >/dev/null 2>&1 || exit 1; out=$( { find / \( -fstype jfs -o -fstype jfs2 \) -type f -perm -g+w -group staff -ls ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Run the following command to remove the write bit for the group staff: find / \( -fstype jfs -o -fstype jfs2 \) -type f -perm -g+w -group staff - exec chmod g-w {} +
プロパティ
- オペレーティングシステム
- すべて
- タグ
- aixaccounts
- 参照
- CIS IBM AIX 7 Benchmark v1.2.0 - 3.5 Ensure there are no group staff writable files
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target aix