UCF STIG Viewer Logo

The /etc/nsswitch.conf file must be group-owned by root, bin, or sys.


Overview

Finding ID Version Rule ID IA Controls Severity
V-227637 GEN001372 SV-227637r603266_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 X86 Security Technical Implementation Guide 2020-12-04

Details

Check Text ( C-29799r488471_chk )
Check the group ownership of the nsswitch.conf file.

Procedure:
# ls -lL /etc/nsswitch.conf

If the file is not group-owned by root, bin, or sys, this is a finding.
Fix Text (F-29787r488472_fix)
Change the group owner of the /etc/nsswitch.conf file to root, bin, or sys.

Procedure:
# chgrp root /etc/nsswitch.conf