TMA-COS-6.2.2
Ensure no legacy "+" entries exist in /etc/passwd
MittelStufe 1Manuelle Prüfungcos
Beschreibung
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.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
Run the following command and verify that no output is returned: # grep '^\+:' /etc/passwd
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Remove any legacy '+' entries from /etc/passwd if they exist.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- container-optimized-oscos
- Referenz
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.2.2 Ensure no legacy "+" entries exist in /etc/passwd