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

All RHEL 9 local interactive users must have a home directory assigned in the /etc/passwd file.

DISA Rule

SV-258051r991589_rule

Vulnerability Number

V-258051

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

RHEL-09-411060

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Create and assign home directories to all local interactive users on RHEL 9 that currently do not have a home directory assigned.

Check Contents

Verify that interactive users on the system have a home directory assigned with the following command:

$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd

smithk:x:1000:1000:smithk:/home/smithk:/bin/bash
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash

Inspect the output and verify that all interactive users (normally users with a user identifier (UID) greater that 1000) have a home directory defined.

If users home directory is not defined, this is a finding.

Vulnerability Number

V-258051

Documentable

False

Rule Version

RHEL-09-411060

Severity Override Guidance

Verify that interactive users on the system have a home directory assigned with the following command:

$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd

smithk:x:1000:1000:smithk:/home/smithk:/bin/bash
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash

Inspect the output and verify that all interactive users (normally users with a user identifier (UID) greater that 1000) have a home directory defined.

If users home directory is not defined, this is a finding.

Check Content Reference

M

Target Key

5551