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-22329 GEN001373 SV-38319r1_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
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-36328r1_chk )
Check the mode of the /etc/nsswitch.conf file.
# ls -lL /etc/nsswitch.conf
If the file mode is more permissive than 0644, this is a finding.
Fix Text (F-31583r1_fix)
Change the mode of the /etc/nsswitch.conf file to 0644 or less permissive.
# chmod 0644 /etc/nsswitch.conf