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

RHEL 10 must enforce mode "0740" or less permissive for local initialization files.

DISA Rule

SV-281064r1165547_rule

Vulnerability Number

V-281064

Group Title

SRG-OS-000080-GPOS-00048

Rule Version

RHEL-10-400235

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure RHEL 10 so that all local initialization files have a mode of "0740" or less permissive with the following command:

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

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

Check Contents

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

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

$ sudo find /home -maxdepth 2 -type f -name ".*" -exec stat -c "%n %a" {} \; | awk '$2 > 740'
/home/disauser/.bash_profile 770

If any local initialization files are returned, this indicates a mode more permissive than "0740", and this is a finding.

Vulnerability Number

V-281064

Documentable

False

Rule Version

RHEL-10-400235

Severity Override Guidance

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

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

$ sudo find /home -maxdepth 2 -type f -name ".*" -exec stat -c "%n %a" {} \; | awk '$2 > 740'
/home/disauser/.bash_profile 770

If any local initialization files are returned, this indicates a mode more permissive than "0740", and this is a finding.

Check Content Reference

M

Target Key

5733