There must be no .netrc files on the system.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN002000

Associated with IA controls: ECCD-2, ECCD-1, IAIA-2, IAIA-1

Associated with: CCI-000196

SV-38002r1_rule There must be no .netrc files on the system.

Vulnerability discussion

Unencrypted passwords for remote FTP servers may be stored in .netrc files. Policy requires passwords be encrypted in storage and not used in access scripts.

Check content

Open a terminal session and enter the following command to check the system for the existence of any .netrc files. find / -name .netrc If any .netrc file exists, this is a finding.

Fix text

To remove the .netrc file(s) enter the following command. rm .netrc

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer