UCF STIG Viewer Logo

The /etc/nsswitch.conf file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-226510 GEN001371 SV-226510r603265_rule 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
Solaris 10 SPARC Security Technical Implementation Guide 2020-12-04

Details

Check Text ( C-28671r482918_chk )
Verify the /etc/nsswitch.conf file is owned by root.

Procedure:
# ls -l /etc/nsswitch.conf
If the file is not owned by root, this is a finding.
Fix Text (F-28659r482919_fix)
Change the owner of the /etc/nsswitch.conf file to root.

# chown root /etc/nsswitch.conf