Skip to content

Permissions on user .netrc files must be 750 or less permissive.

An XCCDF Rule

Description

.netrc files may contain unencrypted passwords that can be used to attack other systems.

ID
SV-216183r959010_rule
Version
SOL-11.1-070040
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

The root role is required. 

Change the permissions on users' .netrc files to 750 or less permissive.

# chmod 750 [file name]