STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Red Hat Enterprise Linux 10 Security Technical Implementation Guide

V-281178

CAT II (Medium)

RHEL 10 must ensure that all local interactive user home directories defined in the "/etc/passwd" file must exist.

Rule ID

SV-281178r1195418_rule

STIG

Red Hat Enterprise Linux 10 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-002385

Discussion

If a local interactive user has a home directory defined that does not exist, the user may be given access to the / directory as the current working directory upon login. This could create a denial of service because the user would not be able to access their login configuration files, and it may give them visibility to system files they normally would not be able to access.

Check Content

Verify RHEL 10 interactive users' home directories exist on the system with the following command:

$ sudo pwck -r
user 'mailnull': directory 'var/spool/mqueue' does not exist

The output should not return any interactive users.

If an interactive user's home directory does not exist, this is a finding.

Fix Text

Configure RHEL 10 interactive users' home directories to exist on the system.

Create home directories to all local interactive users that 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