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-227638 GEN001373 SV-227638r603266_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 2022-09-07

Details

Check Text ( C-29800r488474_chk )
Check the mode of the /etc/nsswitch.conf file.

Procedure:
# ls -l /etc/nsswitch.conf
If the file mode is more permissive than 0644, this is a finding.
Fix Text (F-29788r488475_fix)
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive.

Procedure:
# chmod 0644 /etc/nsswitch.conf