UCF STIG Viewer Logo

The /etc/nsswitch.conf file must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22329 GEN001373 SV-37332r1_rule ECLP-1 Medium
Description
The nsswitch.conf file (or equivalent) configures the source of a variety of system security information including account, group, and host lookups. Malicious changes could prevent the system from functioning or compromise system security.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-36022r1_chk )
Check the mode of the /etc/nsswitch.conf file.
# ls -l /etc/nsswitch.conf
If the file mode is not 0644, this is a finding.

Fix Text (F-31270r1_fix)
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive.
# chmod 0644 /etc/nsswitch.conf