6.1.3 Ensure permissions on /etc/passwd are configured

Information

The /etc/passwd file contains user account information that is used by many system utilities and therefore must be readable for these utilities to operate.

It is critical to ensure that the /etc/passwd file is protected from unauthorized write access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.

Solution

Run the following command to set permissions on /etc/passwd :

# chown root:root /etc/passwd
# chmod 644 /etc/passwd

See Also

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

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|16.4

Plugin: Unix

Control ID: 4e9dbb33d06fe25165e6a62520c0362e7834a1e3e14bcf965a62e73b27145aa0