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 be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22327 GEN001371 SV-37326r1_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 2012-05-25

Details

Check Text ( C-36018r1_chk )
Verify the /etc/nsswitch.conf file is owned by root.
# ls -l /etc/nsswitch.conf
If the file is not owned by root, this is a finding.

Fix Text (F-31267r1_fix)
Change the owner of the /etc/nsswitch.conf file to root.
# chown root /etc/nsswitch.conf