TMA-COS-6.1.5
Ensure permissions on /etc/passwd- are configured
Mô tả
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.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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)
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Run the following command to set permissions on /etc/passwd- : # chown root:root /etc/passwd- # chmod u-x,go-wx /etc/passwd-
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- access-controlcontainer-optimized-oscos
- Tham chiếu
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.1.5 Ensure permissions on /etc/passwd- are configured