STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 2 Release: 8 Benchmark Date: 01 Jul 2026:

All RHEL 8 local initialization files must have mode 0740 or less permissive.

DISA Rule

SV-230325r1017136_rule

Vulnerability Number

V-230325

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

RHEL-08-010770

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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>

Check Contents

Verify that all local initialization files have a mode of "0740" or less permissive with the following command:

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

$ sudo ls -al /home/smithj/.[^.]* | more

-rw-------. 1 smithj users 2984 Apr 27 19:02 .bash_history
-rw-r--r--. 1 smithj users 18 Aug 21 2019 .bash_logout
-rw-r--r--. 1 smithj users 193 Aug 21 2019 .bash_profile

If any local initialization files have a mode more permissive than "0740", this is a finding.

Vulnerability Number

V-230325

Documentable

False

Rule Version

RHEL-08-010770

Severity Override Guidance

Verify that all local initialization files have a mode of "0740" or less permissive with the following command:

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

$ sudo ls -al /home/smithj/.[^.]* | more

-rw-------. 1 smithj users 2984 Apr 27 19:02 .bash_history
-rw-r--r--. 1 smithj users 18 Aug 21 2019 .bash_logout
-rw-r--r--. 1 smithj users 193 Aug 21 2019 .bash_profile

If any local initialization files have a mode more permissive than "0740", this is a finding.

Check Content Reference

M

Target Key

2921