TMA-COS-6.2.4
Ensure no legacy "+" entries exist in /etc/group
MediumLevel 1Manual reviewcos
Description
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.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
Run the following command and verify that no output is returned: # grep '^\+:' /etc/group
How it is fixed
Fix method: Guidance or infrastructure patch
Remove any legacy '+' entries from /etc/group if they exist.
Properties
- Operating systems
- Any
- Tags
- container-optimized-oscos
- Reference
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.2.4 Ensure no legacy "+" entries exist in /etc/group