User .netrc files must not exist.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-216195SOL-11.1-070160SV-216195r959010_ruleCCI-000366medium
Description
The .netrc file presents a significant security risk since it stores passwords in unencrypted form.
STIGDate
Solaris 11 X86 Security Technical Implementation Guide2025-05-05

Details

Check Text (C-216195r959010_chk)

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 Text (F-17431r372968_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.