There must be no .netrc files on the system.

From Apple OS X 10.8 (Mountain Lion) Workstation STIG

Part of SRG-OS-000073

Associated with: CCI-000196

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

Vulnerability discussion

Passwords need to be protected at all times and encryption is the standard method for protecting passwords while in storage so unauthorized users/processes cannot gain access. There must be no ".netrc" files on the system.

Check content

To see if there are any ".netrc" files on the system, run the following command: sudo find / -name .netrc If there is anything found, this is a finding.

Fix text

To remove any ".netrc" files, run the following command: find / -name .netrc -exec rm {} \;

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