GEN001880 - All local initialization files must have mode 0740 or less permissive - '~/.env'

Information

Local initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon.

Solution

Ensure user startup files have permissions of 0740 or more restrictive. Examine each user's home directory and verify all file names beginning with '.' have access permissions of 0740 or more restrictive. If they do not, use the chmod command to correct the vulnerability.
Procedure:
# chmod 0740 .filename
NOTE: The period is part of the file name and is required.

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Rule-ID|SV-905r2_rule, STIG-ID|GEN001880, Vuln-ID|V-905

Plugin: Unix

Control ID: be24a3274379016e4dbf1e97602030b8702f18804f65138aa9d235a404e802be