6.2.2 Ensure no legacy '+' entries exist in /etc/passwd - + 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/2688

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv7|5.1

Plugin: Unix

Control ID: 47952ec142efbe86a26009321dcf5c7667ca352ab4a090dc4c71c0e8395df48f