3.7.2.7 /etc/passwd

Information

The /etc/passwd file contains a list of the users defined within the system.

Rationale:

The /etc/passwd file defines all users within the system. Since the file contains sensitive information, it must be properly secured.

Solution

Ensure correct ownership and permissions are in place for /etc/passwd:

chown root:security /etc/passwd
chmod u=rw,go=r /etc/passwd

Default Value:

644

See Also

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

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 3fd670547cc470378cd54e08cfa666684a7e5fa3e1b088a27170dec802a1ce87