TMA-COS-6.2.3
Ensure no legacy "+" entries exist in /etc/shadow
Descrição
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.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --include-manual.
Run the following command and verify that no output is returned: # grep '^\+:' /etc/shadow
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Remove any legacy '+' entries from /etc/shadow if they exist.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- container-optimized-oscos
- Referência
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.2.3 Ensure no legacy "+" entries exist in /etc/shadow