STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

All AlmaLinux OS 9 local interactive user home directories must be group-owned by the home directory owner's primary group.

DISA Rule

SV-269210r1050092_rule

Vulnerability Number

V-269210

Group Title

SRG-OS-000480-GPOS-00230

Rule Version

ALMA-09-014760

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Change the group owner of a local interactive user's home directory to the group found in "/etc/passwd". To change the group owner of a local interactive user's home directory, use the following command:

Note: The example will be for the user "test", who has a home directory of "/home/test", and has a primary group of "test".

$ chgrp test /home/test

Check Contents

Verify the assigned home directory of all local interactive users is group-owned by that user's primary GID with the following command:

Note: This may miss local interactive users that have been assigned a privileged UID. Evidence of interactive use may be obtained from a number of log files containing system logon information. The returned directory "/home/test" is used as an example.

$ stat --format="%n: GID=%g (%G), UID=%u (%U), MODE=%0.4a" $(awk -F: '($3>=1000)&&($7 !~ /nologin/){print $6}' /etc/passwd)

/home/test: GID=1001 (test), UID=1001 (test), MODE=0700

Check the user's primary group with the following command:

$ grep $(grep -E '^test:' /etc/passwd | awk -F: '{print $4}') /etc/group

test:x:1001:

If the user home directory referenced in "/etc/passwd" is not group-owned by that user's primary GID (1001 in the above example) this is a finding.

Vulnerability Number

V-269210

Documentable

False

Rule Version

ALMA-09-014760

Severity Override Guidance

Verify the assigned home directory of all local interactive users is group-owned by that user's primary GID with the following command:

Note: This may miss local interactive users that have been assigned a privileged UID. Evidence of interactive use may be obtained from a number of log files containing system logon information. The returned directory "/home/test" is used as an example.

$ stat --format="%n: GID=%g (%G), UID=%u (%U), MODE=%0.4a" $(awk -F: '($3>=1000)&&($7 !~ /nologin/){print $6}' /etc/passwd)

/home/test: GID=1001 (test), UID=1001 (test), MODE=0700

Check the user's primary group with the following command:

$ grep $(grep -E '^test:' /etc/passwd | awk -F: '{print $4}') /etc/group

test:x:1001:

If the user home directory referenced in "/etc/passwd" is not group-owned by that user's primary GID (1001 in the above example) this is a finding.

Check Content Reference

M

Target Key

5664