TMA-LNX-PERM-PASSWD
Ensure permissions on /etc/passwd are configured
高レベル 1自動linux
説明
/etc/passwd must be 644 root:root.
チェック方法
監査方法: シェルコマンド
shell
stat -Lc '%a %U %G' /etc/passwd- 期待される出力
644 root root
修正方法
修正方法: シェルコマンド
shell
chown root:root /etc/passwd && chmod 644 /etc/passwdプロパティ
- オペレーティングシステム
- ubuntu-22.04, ubuntu-24.04, rocky-9
- タグ
- permissionsfiles
- 参照
- CIS Linux Benchmark - System File Permissions (verify section number for your distro release)
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target linux