STIGUI
V-216195CAT II — Medium severitySV-216195r959010_rule

User .netrc files must not exist.

Rule version SOL-11.1-070160 · STIG v3 · 2026-08-19

Discussion

The .netrc file presents a significant security risk since it stores passwords in unencrypted form.

Check

The root role is required.

Check for the presence of user .netrc files.

# for dir in \ `logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do ls -l ${dir}/.netrc 2>/dev/null done

If output is produced, this is a finding.

Fix

The root role is required.

Determine if any .netrc files exist, and work with the owners to determine the best course of action in accordance with site policy.

Identifiers

Group ID
V-216195
Group title
SRG-OS-000480
Rule ID
SV-216195r959010_rule
Check ID
C-17433r372967_chk
Fix ID
F-17431r372968_fix