RHEL-07-020710 - The Red Hat Enterprise Linux operating system must be configured so that all local initialization files have mode 0740 or less permissive.

Information

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

Solution

Set the mode of the local initialization files to '0740' with the following command:

Note: The example will be for the 'smithj' user, who has a home directory of '/home/smithj'.

# chmod 0740 /home/smithj/.[^.]*

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204476r991589_rule, STIG-ID|RHEL-07-020710, STIG-Legacy|SV-86657, STIG-Legacy|V-72033, Vuln-ID|V-204476

Plugin: Unix

Control ID: 144f39724ec32d735a1e15c5283e4ec6b688c8d019b1e1e72821d56867682992