3.7.1.4 /etc/security

Information

This /etc/security directory contains the user and group configuration files and the encrypted passwords.

Rationale:

The /etc/security directory contains sensitive files such as /etc/security/passwd, /etc/security/group. It must be secured from unauthorized access and modifications.

Solution

Remove world read, write and execute access and group write access from /etc/security:

chown -R root:security /etc/security
chmod u=rwx,g=rx,o= /etc/security
chmod -R go-w,o-rx /etc/security

Default Value:

N/A

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: 6d262d647b8907298d3ff67457c3c7a62396b3f77605ed20d0e111880186c37e