TMAegis
cos のその他のルール

TMA-COS-6.1.5

Ensure permissions on /etc/passwd- are configured

低レベル 2手動レビューcos

説明

The /etc/passwd- file contains backup user account information. It is critical to ensure that the /etc/passwd- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

Run the following command and verify Uid and Gid are both 0/root and Access is 644 or more restrictive: # stat /etc/passwd- Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)

修正方法

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

Run the following command to set permissions on /etc/passwd- : # chown root:root /etc/passwd- # chmod u-x,go-wx /etc/passwd-

プロパティ

オペレーティングシステム
すべて
タグ
access-controlcontainer-optimized-oscos
参照
CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.1.5 Ensure permissions on /etc/passwd- are configured