TMAegis
Thêm quy tắc cho cos

TMA-COS-6.2.2

Ensure no legacy "+" entries exist in /etc/passwd

Trung bìnhCấp 1Xem xét thủ côngcos

Mô tả

The character + in various files used to be markers for systems to insert data from NIS maps at a certain point in a system configuration file. These entries are no longer required on most systems, but may exist in files that have been imported from other platforms. These entries may provide an avenue for attackers to gain privileged access on the system.

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 that no output is returned: # grep '^\+:' /etc/passwd

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

Remove any legacy '+' entries from /etc/passwd if they exist.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
container-optimized-oscos
Tham chiếu
CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.2.2 Ensure no legacy "+" entries exist in /etc/passwd