TMAegisBeta
更多 cos 規則

Container-Optimized OS

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)

修補方式

修補方法: 操作指南或基礎設施修補檔

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