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

Information

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.

Rationale:

These entries may provide an avenue for attackers to gain privileged access on the system.

Solution

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

See Also

https://workbench.cisecurity.org/files/2420

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2, CSCv6|16.9, CSCv7|16.2

Plugin: Unix

Control ID: 8971793c6daa5a8309264b5e1fcfd63c1b7a4c253155012eeaa6d991b0ba7cf8