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 user home directories defined in the /etc/passwd file must exist.

DISA Rule

SV-258052r1184315_rule

Vulnerability Number

V-258052

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

RHEL-09-411065

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Create home directories to all local interactive users that currently do not have a home directory assigned. Use the following commands to create the user home directory assigned in "/etc/ passwd":

Note: The example will be for the user disauser, who has a home directory of "/home/disauser", a user identifier (UID) of "disauser", and a group identifier (GID) of "users assigned" in "/etc/passwd".

$ sudo mkdir /home/disauser
$ sudo chown disauser /home/disauser
$ sudo chgrp users /home/disauser
$ sudo chmod 0750 /home/disauser

Check Contents

Verify the assigned home directories of all interactive users on the system exist with the following command:

$ sudo pwck -r

The output should not return any interactive (human) users.

Ask the system administrator (SA) if any users found without home directories are local interactive users.
If the SA is unable to provide a response, check for users with a user identifier (UID) of 1000 or greater with the following command:

$ awk -F: '($3>=1000)&&($1!="nobody"){print $1 ":" $3}' /etc/passwd

If any interactive users do not have a home directory assigned, this is a finding.

Vulnerability Number

V-258052

Documentable

False

Rule Version

RHEL-09-411065

Severity Override Guidance

Verify the assigned home directories of all interactive users on the system exist with the following command:

$ sudo pwck -r

The output should not return any interactive (human) users.

Ask the system administrator (SA) if any users found without home directories are local interactive users.
If the SA is unable to provide a response, check for users with a user identifier (UID) of 1000 or greater with the following command:

$ awk -F: '($3>=1000)&&($1!="nobody"){print $1 ":" $3}' /etc/passwd

If any interactive users do not have a home directory assigned, this is a finding.

Check Content Reference

M

Target Key

5551