UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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-64541r1_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
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52957r1_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-55137r1_fix)
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive.

# chmod 0644 /etc/nsswitch.conf