STIGQter STIGQter: STIG Summary: Tri-Lab Operating System Stack (TOSS) 4 Security Technical Implementation Guide Version: 2 Release: 6 Benchmark Date: 01 Jul 2026:

All TOSS local interactive user home directories must be owned by the user's primary group.

DISA Rule

SV-252971r991592_rule

Vulnerability Number

V-252971

Group Title

SRG-OS-000480-GPOS-00230

Rule Version

TOSS-04-020320

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Change the group owner of interactive user's home directories to that users primary group. 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 "smithj."

$ sudo chgrp smithj /home/smithj

Check Contents

Check that all user home directories are owned by the user's primary group with the following command:

$ awk -F: '($3>=1000)&&($7 !~ /nologin/)&&("stat -c '%g' " $6 | getline dir_group)&&(dir_group!=$4){print $1,$6}' /etc/passwd
admin /home/admin

Check each user's primary group with the following command (example command is for the "admin" user):

$ sudo grep "^admin" /etc/group
admin:x:250:smithj,jonesj,jacksons

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

Vulnerability Number

V-252971

Documentable

False

Rule Version

TOSS-04-020320

Severity Override Guidance

Check that all user home directories are owned by the user's primary group with the following command:

$ awk -F: '($3>=1000)&&($7 !~ /nologin/)&&("stat -c '%g' " $6 | getline dir_group)&&(dir_group!=$4){print $1,$6}' /etc/passwd
admin /home/admin

Check each user's primary group with the following command (example command is for the "admin" user):

$ sudo grep "^admin" /etc/group
admin:x:250:smithj,jonesj,jacksons

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

Check Content Reference

M

Target Key

5469