6.2.11 Ensure users' .netrc Files are not group or world accessible

Information

While the system administrator can establish secure permissions for users'netrc files, the users can easily override these.

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

Note: While the complete removal of .netrc files is recommended if any are required on the system secure permissions must be applied.

Solution

Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report usernetrc file permissions and determine the action to be taken in accordance with site policy.

See Also

https://workbench.cisecurity.org/files/3682

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 1d9a7683195e89ff18c93ae4a16d42d4783120a7552d3391cb4a78f0764069c0