OL08-00-010770 - All OL 8 local initialization files must 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'.

$ sudo chmod 0740 /home/smithj/.<INIT_FILE>

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-248645r991589_rule, STIG-ID|OL08-00-010770, Vuln-ID|V-248645

Plugin: Unix

Control ID: 456ebc0f1983a4b7fedf1af44891b4524a5dacfcbef3bf631772dbf6e91c7e7f